Merge pull request #8057 from mtelka/info-noadmin

fix: state: Allow lotus-miner info to complete without admin permission
This commit is contained in:
Łukasz Magiera 2022-02-15 15:00:29 +01:00 committed by GitHub
commit a3e785cb4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)