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

Move object channel defer close to goroutine #3346

Merged
merged 1 commit into from
May 19, 2021

Conversation

briandowns
Copy link
Contributor

@briandowns briandowns commented May 19, 2021

Signed-off-by: Brian Downs brian.downs@gmail.com

Proposed Changes

Moved defer channel close to the goroutine that was filling it. With this channel remaining open, the library function that consumes from the channel was unable to know it reached the end of the input.

Types of Changes

Verification

Linked Issues

#3240

Further Comments

Signed-off-by: Brian Downs <brian.downs@gmail.com>
@briandowns briandowns self-assigned this May 19, 2021
@briandowns briandowns requested a review from a team as a code owner May 19, 2021 03:05
@briandowns briandowns requested a review from a team May 19, 2021 03:15
@briandowns briandowns merged commit 0ccdbe4 into k3s-io:master May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants