Skip to content

go.mod: Bump go-winio to v0.6.0#7443

Merged
estesp merged 1 commit intocontainerd:mainfrom
dcantah:bump-winio-0.6
Sep 28, 2022
Merged

go.mod: Bump go-winio to v0.6.0#7443
estesp merged 1 commit intocontainerd:mainfrom
dcantah:bump-winio-0.6

Conversation

@dcantah
Copy link
Copy Markdown
Member

@dcantah dcantah commented Sep 28, 2022

Some minor improvements, but biggest for here is ErrPipeListenerClosed is no longer an errors.New where the string matched the text of the now exported net.ErrClosed in the stdlib, but is just assigned to net.ErrClosed directly. This should allow us to get rid of the string check for "use of closed network connection" that's used throughout here now for different ttrpc/grpc services and just check against if we got net.ErrClosed.

@k8s-ci-robot
Copy link
Copy Markdown

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

Some minor improvements, but biggest for here is ErrPipeListenerClosed
is no longer an errors.New where the string matches the text of the now
exported net.ErrClosed in the stdlib, but is just assigned to net.ErrClosed
directly. This should allow us to get rid of the string check for "use of closed
network connection" here now..

Signed-off-by: Daniel Canter <[email protected]>
@dcantah dcantah marked this pull request as ready for review September 28, 2022 19:17
Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@estesp estesp merged commit 7374e0a into containerd:main Sep 28, 2022
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.

4 participants