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

pkg/trace/agent: simplify channels #3868

Merged
merged 1 commit into from
Jul 12, 2019
Merged

pkg/trace/agent: simplify channels #3868

merged 1 commit into from
Jul 12, 2019

Conversation

gbbr
Copy link
Contributor

@gbbr gbbr commented Jul 12, 2019

This change simplifies the way the channels are defined in the Agent
structure, by putting the responsibility of receiving from the receiver
channel into its maker. It makes more sense from an API standpoint where
a channel is passed to a constructor, rather than accessing that
structure's field directly (Receiver.Out).

This change simplifies the way the channels are defined in the Agent
structure, by putting the responsibility of receiving from the receiver
channel into its maker. It makes more sense from an API standpoint where
a channel is passed to a constructor, rather than accessing that
structure's field directly (Receiver.Out).
@gbbr gbbr added this to the 6.13.0 milestone Jul 12, 2019
Copy link
Contributor

@djova djova left a comment

Choose a reason for hiding this comment

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

That's simpler 👍

@gbbr gbbr merged commit 2dd217d into master Jul 12, 2019
@gbbr gbbr deleted the gbbr/simplify branch July 12, 2019 19:16
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.

None yet

2 participants