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 f5a7feb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmd/lotus-shed/terminations.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,12 @@ 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 f5a7feb

Please sign in to comment.