Skip to content

Commit

Permalink
Merge pull request #6112 from filecoin-project/ux/inspect-deal-estimates
Browse files Browse the repository at this point in the history
add "expected duration" label to inspect-deals output
  • Loading branch information
magik6k authored Apr 26, 2021
2 parents abc8882 + 66e8517 commit c88eeaa
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 @@ -2347,7 +2347,7 @@ func renderDeal(di *lapi.DealInfo) {
}

for _, stg := range di.DealStages.Stages {
msg := fmt.Sprintf("%s %s: %s (%s)", color.BlueString("Stage:"), color.BlueString(strings.TrimPrefix(stg.Name, "StorageDeal")), stg.Description, color.GreenString(stg.ExpectedDuration))
msg := fmt.Sprintf("%s %s: %s (expected duration: %s)", color.BlueString("Stage:"), color.BlueString(strings.TrimPrefix(stg.Name, "StorageDeal")), stg.Description, color.GreenString(stg.ExpectedDuration))
if stg.UpdatedTime.Time().IsZero() {
msg = color.YellowString(msg)
}
Expand Down

0 comments on commit c88eeaa

Please sign in to comment.