Skip to content

Comments

pkg/ioutils: deprecate NopWriter, NopWriteCloser#49254

Merged
thaJeztah merged 2 commits intomoby:masterfrom
thaJeztah:ioutils_more_deprecations
Jan 10, 2025
Merged

pkg/ioutils: deprecate NopWriter, NopWriteCloser#49254
thaJeztah merged 2 commits intomoby:masterfrom
thaJeztah:ioutils_more_deprecations

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 <[email protected]>
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 <[email protected]>
@thaJeztah thaJeztah mentioned this pull request Jan 10, 2025
79 tasks
@thaJeztah thaJeztah merged commit ecaccdd into moby:master Jan 10, 2025
175 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