Skip to content

Commit

Permalink
fix(cli): add one more error state
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahhoward committed May 27, 2021
1 parent 5ee0c2e commit 1e7181d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,7 @@ var clientListRetrievalsCmd = &cli.Command{

func isTerminalError(status retrievalmarket.DealStatus) bool {
// should patch this in go-fil-markets but to solve the problem immediate and not have buggy output
return retrievalmarket.IsTerminalError(status) || status == retrievalmarket.DealStatusErrored
return retrievalmarket.IsTerminalError(status) || status == retrievalmarket.DealStatusErrored || status == retrievalmarket.DealStatusCancelled
}
func outputRetrievalDeals(ctx context.Context, out io.Writer, localDeals []lapi.RetrievalInfo, verbose bool, color bool, showFailed bool, completed bool) error {
var deals []api.RetrievalInfo
Expand Down

0 comments on commit 1e7181d

Please sign in to comment.