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

remove pkg/broadcaster and make it internal to container/streams #49172

Merged
merged 1 commit into from
Jan 1, 2025

Conversation

thaJeztah
Copy link
Member

This package was only used internally in container/streams and had no external consumers.

- Description for the changelog

Go-SDK: remove pkg/broadcaster, as it was only used internally

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

This package was only used internally in container/streams and had
no external consumers.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added status/2-code-review impact/deprecation kind/refactor PR's that refactor, or clean-up code area/go-sdk Changes affecting the Go SDK impact/go-sdk Noteworthy (compatibility changes) in the Go SDK labels Dec 28, 2024
@thaJeztah thaJeztah added this to the 28.0.0 milestone Dec 28, 2024
@thaJeztah thaJeztah self-assigned this Dec 28, 2024
Comment on lines -45 to +49
func (c *Config) Stdout() *broadcaster.Unbuffered {
func (c *Config) Stdout() io.Writer {
return c.stdout
}

// Stderr returns the standard error in the configuration.
func (c *Config) Stderr() *broadcaster.Unbuffered {
func (c *Config) Stderr() io.Writer {
Copy link
Member Author

@thaJeztah thaJeztah Dec 28, 2024

Choose a reason for hiding this comment

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

⚠️ ☝️ Changed signature here to return io.Writer as the extra features provided by Unbuffered were only used internally, not by callers.

@thaJeztah thaJeztah mentioned this pull request Dec 28, 2024
62 tasks
Copy link
Contributor

@austinvazquez austinvazquez left a comment

Choose a reason for hiding this comment

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

LGTM

@thaJeztah thaJeztah merged commit 6f6c3b9 into moby:master Jan 1, 2025
161 checks passed
@thaJeztah thaJeztah deleted the internalize_pkg_broadcaster branch January 1, 2025 15:12
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/deprecation impact/go-sdk Noteworthy (compatibility changes) in the Go SDK kind/refactor PR's that refactor, or clean-up code status/2-code-review
Projects
Development

Successfully merging this pull request may close these issues.

2 participants