-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There is no reason to do the list in one goroutine and the watch in another, as the watcher just blocks on startup waiting for the list to finish and send the revision on the channel. This can be simplified to one goroutine, which lets us drop the channel and waitgroup entirely. Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
- Loading branch information
Showing
1 changed file
with
8 additions
and
22 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