mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-18 17:00:24 +00:00
In WatchPod(), if one of the two channels being watched (pod updates and events) is closed, the for/select loop turns into a tight infinite loop because the select immediately falls through due to the channel being closed. Watch them independently instead.