1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-17 17:56:33 +00:00

fix test command issue

This commit is contained in:
Vyankatesh Kudtarkar 2021-07-28 22:12:01 +05:30 committed by GitHub
parent be8c584037
commit 64b6e22042
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -428,7 +428,7 @@ func printTestResult(resps map[string]report.PolicyReportResult, testResults []T
}
if testRes.Status == v.Status {
if testRes.Status == report.StatusSkip {
res.Result = boldGreen.Sprintf("Skip")
res.Result = boldGreen.Sprintf("Pass")
rc.skip++
} else {
res.Result = boldGreen.Sprintf("Pass")