Merge pull request #806 from rajatchopra/master

monitor CNI networks continuously
This commit is contained in:
Antonio Murdaca 2017-08-30 12:12:33 +02:00 committed by GitHub
commit 35eea14c66

View file

@ -54,9 +54,8 @@ func (plugin *cniNetworkPlugin) monitorNetDir() {
} }
if err = plugin.syncNetworkConfig(); err == nil { if err = plugin.syncNetworkConfig(); err == nil {
logrus.Debugf("CNI asynchronous setting succeeded") logrus.Infof("CNI asynchronous setting succeeded")
close(plugin.monitorNetDirChan) continue
return
} }
logrus.Errorf("CNI setting failed, continue monitoring: %v", err) logrus.Errorf("CNI setting failed, continue monitoring: %v", err)