1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00
kyverno/cmd/cli/kubectl-kyverno
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
..
apply refactor: remove policyreport package (#5174) 2022-11-02 09:06:44 +00:00
jp refactor: move from io/ioutil to io and os packages (#4752) 2022-09-30 12:55:19 +05:30
oci feat: oci pull/push support for policie(s) (#5026) 2022-10-24 18:47:20 +00:00
test Fix issue where CLI test command ignores failures (#5189) 2022-11-11 07:19:49 +00:00
utils refactor: remove policyreport package (#5174) 2022-11-02 09:06:44 +00:00
version refactor cli code from pkg to cmd (#3591) 2022-04-14 12:20:18 +00:00
Dockerfile [Feature] Pin Dependencies by Hash (#5168) 2022-11-07 08:59:26 +00:00
main.go feat: oci pull/push support for policie(s) (#5026) 2022-10-24 18:47:20 +00:00