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

Fix potential panic in stern.Run() #267

Merged
merged 1 commit into from May 9, 2023

Conversation

tksm
Copy link
Contributor

@tksm tksm commented May 8, 2023

This PR fixes a potential panic in the stern.Run() by replacing an error channel with errgroup. As pointed out in issue #265, errCh was closed without waiting for the goroutine to finish, so it might cause panic (send on closed channel).

@superbrothers superbrothers merged commit dcba2dd into stern:master May 9, 2023
1 check passed
@tksm tksm deleted the fix-panic-stern-run branch May 9, 2023 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants