sandbox: replace github.com/pkg/errors with native errors#6937
sandbox: replace github.com/pkg/errors with native errors#6937dmcgowan merged 1 commit intocontainerd:mainfrom
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 <mikko.ylinen@intel.com>
|
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. DetailsInstructions 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). |
|
@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 mikko.ylinen@intel.com