mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-08-19 04:06:24 +00:00
The log monitor stops draining logCh before calling watcher.Stop(), so with a full channel (e.g. a kmsg burst at shutdown) watchLoop blocked on the send forever, never called tomb.Done(), and Stop() hung. Select on tomb.Stopping() alongside the send.