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

[27.x backport] pkg/ioutils: deprecate NopWriter, NopWriteClose #49255

Merged

Conversation

thaJeztah
Copy link
Member

- Description for the changelog

Go SDK: pkg/ioutils: deprecate `NopWriter` in favour of `io.Discard`. It will be removed in the next release.
Go SDK: pkg/ioutils: deprecate `NopWriteCloser`. It was only used internally, and will be removed in the next release.

- A picture of a cute animal (not mandatory but encouraged)

It's not used, and users can use io.Discard instead.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 7fa3c55)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
It was only used internally, and has no external consumers; deprecate
it to be removed in the next release.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 3faa170)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added status/2-code-review impact/changelog impact/deprecation area/go-sdk Changes affecting the Go SDK impact/go-sdk Noteworthy (compatibility changes) in the Go SDK labels Jan 10, 2025
@thaJeztah thaJeztah added this to the 27.5.0 milestone Jan 10, 2025
@thaJeztah thaJeztah self-assigned this Jan 10, 2025
@thaJeztah
Copy link
Member Author

Failure is unrelated; known flaky;

=== FAIL: amd64.integration-cli TestDockerSwarmSuite/TestSwarmLockUnlockCluster (68.73s)

@thaJeztah thaJeztah merged commit 38b84dc into moby:27.x Jan 10, 2025
152 of 153 checks passed
@thaJeztah thaJeztah deleted the 27.x_backport_ioutils_more_deprecations branch January 10, 2025 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/go-sdk Changes affecting the Go SDK impact/changelog impact/deprecation impact/go-sdk Noteworthy (compatibility changes) in the Go SDK status/4-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants