mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-29 10:55:05 +00:00
Fix result colour (#4885)
Signed-off-by: Anant Vijay <anantvijay3@gmail.com> Signed-off-by: Anant Vijay <anantvijay3@gmail.com>
This commit is contained in:
parent
f7db09fcc2
commit
f6cb33de95
1 changed files with 1 additions and 1 deletions
|
@ -1126,7 +1126,7 @@ func printTestResult(resps map[string]policyreportv1alpha2.PolicyReportResult, t
|
|||
} else {
|
||||
log.Log.V(2).Info("result mismatch", "expected", v.Result, "received", testRes.Result, "key", resultKey)
|
||||
if !removeColor {
|
||||
res.Result = boldGreen.Sprintf("Fail")
|
||||
res.Result = boldRed.Sprintf("Fail")
|
||||
} else {
|
||||
res.Result = "Fail"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue