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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validation/util/container: Use ExitError for stderr #564

Merged
merged 1 commit into from
Jan 29, 2018

Conversation

wking
Copy link
Contributor

@wking wking commented Jan 26, 2018

Lean on the stdlib's ExitError instead of passing stderr around separately. This makes it easy to keep all the parts of the error together, without having to worry about whether a particular command may have executed a runtime call.

Lean on the stdlib's ExitError [1] instead of passing stderr around
separately.  This makes it easy to keep all the parts of the error
together, without having to worry about whether a particular command
may have executed a runtime call.

[1]: https://golang.org/pkg/os/exec/#ExitError

Signed-off-by: W. Trevor King <[email protected]>
@liangchenye
Copy link
Member

liangchenye commented Jan 26, 2018

LGTM

Approved with PullApprove

1 similar comment
@zhouhao3
Copy link

zhouhao3 commented Jan 29, 2018

LGTM

Approved with PullApprove

@zhouhao3 zhouhao3 merged commit 25ac68f into opencontainers:master Jan 29, 2018
@wking wking deleted the exit-error branch January 29, 2018 17:22
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

Successfully merging this pull request may close these issues.

3 participants