mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2026-01-12 18:15:14 +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.