diff --git a/pkg/ocicni/ocicni.go b/pkg/ocicni/ocicni.go index 0204cc2f..ed80498e 100644 --- a/pkg/ocicni/ocicni.go +++ b/pkg/ocicni/ocicni.go @@ -54,9 +54,8 @@ func (plugin *cniNetworkPlugin) monitorNetDir() { } if err = plugin.syncNetworkConfig(); err == nil { - logrus.Debugf("CNI asynchronous setting succeeded") - close(plugin.monitorNetDirChan) - return + logrus.Infof("CNI asynchronous setting succeeded") + continue } logrus.Errorf("CNI setting failed, continue monitoring: %v", err)