mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-08-20 20:56:26 +00:00
fix close of closed channel
This commit is contained in:
@@ -137,7 +137,7 @@ func (c *customPluginMonitor) monitorLoop() {
|
||||
c.plugin.Stop()
|
||||
glog.Infof("Custom plugin monitor stopped: %s", c.configPath)
|
||||
c.tomb.Done()
|
||||
break
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user