-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
move UnknownExitStatus to executor package from errdefs #1830
Conversation
d0da482
to
dd73fb3
Compare
ci for darwin:
executor is not a good place for this if it is included on the client. Has a similar problem #1808 was fixing. |
5b5c7f9
to
d2cd569
Compare
Odd, I didn't get a build failure notification, must be something with the new GHA/Travis integrations? I moved it to frontend/gateway/client since clients will likely want to access that value the error returned from |
Another option might be to keep the |
yes, I was struggling to find a "correct" place as well #1808 (comment)
So I added the If so, perhaps we need separate consts; one to detect a containerd "unknown error", and one to generate our own "unknown error" ? |
yeah, makes sense. I ended up using the @tiborvass left a comment that Any agreement/dissent/thoughts? |
Signed-off-by: Cory Bennett <[email protected]>
d2cd569
to
9d3f55c
Compare
I refactored the code to move the ExitError and UnknownExitStatus to a Not sure what the codecov/patch "failure" means, it seems like a false alarm to me. |
resolves #1811
moved the variable from errdefs to be next to the executor interfaces
also renaming the variable since it is returned from both runc and container executor