1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00
kyverno/cmd
Eric Miller 001db94d87
Fix issue where CLI test command ignores failures (#5189)
Closes #5187

The test command was resetting the return value to "pass", even if it
was already marked failed, in some cases. This solves by moving the
"pass" into an else-if clause.

Signed-off-by: Eric Miller <eric.miller@instructure.com>

Signed-off-by: Eric Miller <eric.miller@instructure.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
2022-11-11 07:19:49 +00:00
..
cli/kubectl-kyverno Fix issue where CLI test command ignores failures (#5189) 2022-11-11 07:19:49 +00:00
initContainer fix: make zapr compatible with klog's -v argument (#5166) 2022-11-09 15:10:27 +00:00
kyverno fix: make zapr compatible with klog's -v argument (#5166) 2022-11-09 15:10:27 +00:00