Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue where CLI test command ignores failures (kyverno#5189)
Closes kyverno#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>
- Loading branch information