Skip to content

Commit

Permalink
i forced pushed and brought a bug that was fixed back so im fixing it…
Browse files Browse the repository at this point in the history
… back
  • Loading branch information
jennijuju committed Dec 13, 2021
1 parent 8c4c2ee commit 3020f91
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/lotus-shed/terminations.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,13 @@ var terminationsCmd = &cli.Command{
for _, sector := range sectors {
for _, deal := range sector.DealIDs {
prop, find, err := proposals.Get(deal)
if err != nil || !find {
if err != nil {
return err
}
fmt.Printf("%s, %d, %d, %s, %s, %s\n", msg.To, sector.SectorNumber, deal, prop.Client, prop.PieceCID, prop.Label)
if find {
fmt.Printf("%s, %d, %d, %s, %s, %s\n", msg.To, sector.SectorNumber, deal, prop.Client, prop.PieceCID, prop.Label)
}
}
}
}
Expand Down

0 comments on commit 3020f91

Please sign in to comment.