-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
sandbox: replace github.com/pkg/errors with native errors #6937
Conversation
PR containerd#6366 implemented a tree-wide change to replace github.com/pkg/errors to errors. The new sandbox API PR containerd#6703 had few errors.Wrap*() leftovers and pulled github.com/pkg/errors back. This commit replaces those leftovers by following the pattern in containerd#6366. Signed-off-by: Mikko Ylinen <[email protected]>
Hi @mythi. Thanks for your PR. I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
FWIW (perhaps "orthogonal" to this change) There was still some discussion about the removal of @dmcgowan @tonistiigi I recall you both had a conversation on this; I don't recall what the outcome was on that though. |
@thaJeztah we had a discussion about reintroducing an error with a stack specifically to the remotes packages which clients may import. Daemon side error stacks never got exposed anywhere, but some clients may have used the stacks. |
Thanks! Would that involve changing back to pkg/errors (or some other approach?). Anyway, I don't want to derail this PR; I did ask @tonistiigi if there's a tracking issue for that (and if not, if he could open one). |
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.
LGTM
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.
LGTM
@MikeZappa87 FYI seeing this connect error again..
ECONNREFUSED -- A connect() on a stream socket found no one listening on |
Both of the packages this PR changes are imported by buildkit (therefore losing stack support for such errors in docker). One of the packages is the main client package. |
PR #6366 implemented a tree-wide change to replace github.com/pkg/errors
to errors. The new sandbox API PR #6703 had few errors.Wrap*() leftovers
and pulled github.com/pkg/errors back. This commit replaces those
leftovers by following the pattern in #6366.
Signed-off-by: Mikko Ylinen [email protected]