This commit is contained in:
LexLuthr 2024-05-23 16:34:28 +05:30 committed by GitHub
parent c1f99c58c5
commit 9983c466ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -266,6 +266,7 @@ func SectorsStatusCmd(getActorAddress ActorAddressGetter, getOnDiskInfo OnDiskIn
} }
if cctx.Bool("log") { if cctx.Bool("log") {
if getOnDiskInfo != nil {
fmt.Printf("--------\nEvent Log:\n") fmt.Printf("--------\nEvent Log:\n")
for i, l := range status.Log { for i, l := range status.Log {
@ -275,6 +276,7 @@ func SectorsStatusCmd(getActorAddress ActorAddressGetter, getOnDiskInfo OnDiskIn
} }
} }
} }
}
return nil return nil
}, },
} }