Skip to content

Commit

Permalink
Change Pending color from blue to yellow in list command
Browse files Browse the repository at this point in the history
Signed-off-by: PuneetPunamiya <ppunamiy@redhat.com>
  • Loading branch information
PuneetPunamiya committed May 14, 2024
1 parent 7039eba commit 352aa16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/cli/cmd/list/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var (
var ConditionColor = map[string]color.Attribute{
"Rejected": color.FgHiRed,
"Approved": color.FgHiGreen,
"Pending": color.FgHiBlue,
"Pending": color.FgHiYellow,
}

const listTemplate = `{{- $at := len .ApprovalTasks.Items }}{{ if eq $at 0 -}}
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/formatter/field.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
var ConditionColor = map[string]color.Attribute{
"Rejected": color.FgHiRed,
"Approved": color.FgHiGreen,
"Pending": color.FgHiBlue,
"Pending": color.FgHiYellow,
}

func ColorStatus(status string) string {
Expand Down

0 comments on commit 352aa16

Please sign in to comment.