Skip to content

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
@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.

2 participants