-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tkn p start --showlog by handling informer ResourceEventHandler
tkn p start --showlog command was failing as informer ResourceEventHandler was calling UpdateFunc after closing channel so it was crashing and showing error `sending data on closed channel` so this patch handles informer ResourceEventHandler by synchronization and checks if channel is closed then return and does nothing Signed-off-by: ShiV Verma <[email protected]>
- Loading branch information
1 parent
c656a28
commit 0652c63
Showing
1 changed file
with
34 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters