Get non-zero exit code from sonnobuoy cli in case of returned failed status #404
Labels
kind/bug
Behavior isn't as expected or intended
lifecycle/active
Actively being worked on
p1-important
Is this a BUG REPORT or FEATURE REQUEST?:
Feature Request
What happened:
I run:
sonobuoy status
and get information about failed plugin.
But when I run
echo $?
I got
0
exit code.
What you expected to happen:
If status is failed I'd like to get non zero exit code so I can handle it properly in case of using sonobuoy cli in bash scripts. Without it I need to parse the output.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
I run sonobuoy v0.11.1
Environment:
kubectl version
):uname -a
):The text was updated successfully, but these errors were encountered: