Skip to content

Commit

Permalink
chore(status): align columns
Browse files Browse the repository at this point in the history
  • Loading branch information
bostrt committed Jun 30, 2022
1 parent e9227ad commit 41636de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/status/printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type PrintablePluginStatus struct {
}

var runningStatusTemplate = `{{.CurrentTime}}> Global Status: {{.GlobalStatus}}
{{printf "%-30s | %-10s | %-10s | %-25s | %-50s" "JOB_NAME" "STATUS" "RESULTS" "PROGRESS" "MESSAGE"}}{{range $index, $pl := .PluginStatuses}}
{{printf "%-30s | %-10s | %-10s | %-25s | %-50s" $pl.Name $pl.Status $pl.Result $pl.Progress $pl.Message}}{{end}}
{{printf "%-32s | %-10s | %-10s | %-25s | %-50s" "JOB_NAME" "STATUS" "RESULTS" "PROGRESS" "MESSAGE"}}{{range $index, $pl := .PluginStatuses}}
{{printf "%-32s | %-10s | %-10s | %-25s | %-50s" $pl.Name $pl.Status $pl.Result $pl.Progress $pl.Message}}{{end}}
`

func PrintRunningStatus(s *aggregation.Status) error {
Expand Down

0 comments on commit 41636de

Please sign in to comment.