-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(kubectl-plugin): non-zero exit code on error #694
fix(kubectl-plugin): non-zero exit code on error #694
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it be rather a wrapper function which logs an error message and returns an exit code, rather than calling exit everywhere. In that way we can reuse the same method? @tiagolobocastro wdyt?
69447b3
to
be05c74
Compare
hmm yeah... |
be05c74
to
4ba2a71
Compare
4ba2a71
to
06cc4d1
Compare
06cc4d1
to
ff1c9ae
Compare
Signed-off-by: Vandana Varakantham <vandana.varakantham@datacore.com>
ff1c9ae
to
ad86b3a
Compare
bors merge |
694: fix(kubectl-plugin): non-zero exit code on error r=datacore-vvarakantham a=datacore-vvarakantham Returning non zero exit code with an error from plugin with kubectl command. Co-authored-by: Vandana Varakantham <vandana.varakantham@datacore.com>
Build failed: |
bors merge |
Build succeeded: |
Returning non zero exit code with an error from plugin with kubectl command.