8000 pkg/ioutils: deprecate NopWriter, NopWriteCloser by thaJeztah · Pull Request #49254 · moby/moby · GitHub
[go: up one dir, main page]

Skip to content

Conversation

thaJeztah
Copy link
Member
@thaJeztah thaJeztah commen 8000 ted Jan 10, 2025

- 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>
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>
8000
@thaJeztah thaJeztah mentioned this pull request Jan 10, 2025
79 tasks
@thaJeztah thaJeztah merged commit ecaccdd into moby:master Jan 10, 2025
176 checks passed
@thaJeztah thaJeztah deleted the 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0