Skip to content

Commit

Permalink
fix: color of workload check metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
ReuDa committed Jan 19, 2024
1 parent 96faf61 commit 5676366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extworkload/workload_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ func getState(status *string) string {
} else if *status == "OPERATIONAL" {
return "success"
} else if *status == "DISRUPTED" || *status == "CRITICAL" {
return "error"
return "danger"
}
return "info" //UNKNOWN,DEGRADED
}

0 comments on commit 5676366

Please sign in to comment.