fix logs (#12036)
This commit is contained in:
parent
c1f99c58c5
commit
9983c466ec
@ -266,6 +266,7 @@ func SectorsStatusCmd(getActorAddress ActorAddressGetter, getOnDiskInfo OnDiskIn
|
||||
}
|
||||
|
||||
if cctx.Bool("log") {
|
||||
if getOnDiskInfo != nil {
|
||||
fmt.Printf("--------\nEvent Log:\n")
|
||||
|
||||
for i, l := range status.Log {
|
||||
@ -275,6 +276,7 @@ func SectorsStatusCmd(getActorAddress ActorAddressGetter, getOnDiskInfo OnDiskIn
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return nil
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user