Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass through return values from inside Docker to the Go wrapper #26

Open
vikrum opened this issue Apr 1, 2021 · 1 comment
Open

Pass through return values from inside Docker to the Go wrapper #26

vikrum opened this issue Apr 1, 2021 · 1 comment

Comments

@vikrum
Copy link
Contributor

vikrum commented Apr 1, 2021

If a call to Introspector fails or the query returns a failure, the Go wrapper should return a non-zero return value to the calling shell.

馃 17:08:30 anglegrinder:introspector$ ./introspector asdfasdf
Usage: introspector.py [OPTIONS] COMMAND [ARGS]...
Try 'introspector.py --help' for help.

Error: No such command 'asdfasdf'.

馃 17:08:40 anglegrinder:introspector$ echo $?
0
@vikrum
Copy link
Contributor Author

vikrum commented May 15, 2021

802d66b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant