Allow lotus-miner info to complete without admin permission
This commit is contained in:
parent
e7038d286d
commit
3c82ee49c0
@ -126,7 +126,7 @@ func infoCmdAct(cctx *cli.Context) error {
|
|||||||
|
|
||||||
alerts, err := minerApi.LogAlerts(ctx)
|
alerts, err := minerApi.LogAlerts(ctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return xerrors.Errorf("getting alerts: %w", err)
|
fmt.Printf("ERROR: getting alerts: %s\n", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
activeAlerts := make([]alerting.Alert, 0)
|
activeAlerts := make([]alerting.Alert, 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user