Skip to content

Commit

Permalink
Fix issue where argo list age column maxed out at 1d (resolves argo…
Browse files Browse the repository at this point in the history
  • Loading branch information
jessesuen committed May 25, 2018
1 parent d68cfb7 commit bbcff0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/argo/commands/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ var timeMagnitudes = []humanize.RelTimeMagnitude{
{D: 2 * time.Hour, Format: "1h %s", DivBy: 1},
{D: humanize.Day, Format: "%dh %s", DivBy: time.Hour},
{D: 2 * humanize.Day, Format: "1d %s", DivBy: 1},
{D: humanize.Week, Format: "%dd %s", DivBy: humanize.Day},
}

func printTable(wfList []wfv1.Workflow, listArgs *listFlags) {
Expand Down

0 comments on commit bbcff0c

Please sign in to comment.