mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-02-14 18:09:57 +00:00
Merge pull request #856 from levaspb/master
fix bug in skip_initial_status
This commit is contained in:
@@ -125,6 +125,9 @@ func (c *customPluginMonitor) Stop() {
|
||||
func (c *customPluginMonitor) monitorLoop() {
|
||||
if !*c.config.PluginGlobalConfig.SkipInitialStatus {
|
||||
c.initializeStatus()
|
||||
} else {
|
||||
c.conditions = initialConditions(c.config.DefaultConditions)
|
||||
klog.Infof("Skipping condition initialization: %+v", c.conditions)
|
||||
}
|
||||
|
||||
resultChan := c.plugin.GetResultChan()
|
||||
|
||||
Reference in New Issue
Block a user