• Joel Smith's avatar
    Prevent virtual infinite loop in volume controller · 917356f8
    Joel Smith authored
    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.
    917356f8
recycler_client.go 8.32 KB