diff --git a/pkg/kubelet/util/pluginwatcher/plugin_watcher.go b/pkg/kubelet/util/pluginwatcher/plugin_watcher.go index 9116222cae..a9f8422edf 100644 --- a/pkg/kubelet/util/pluginwatcher/plugin_watcher.go +++ b/pkg/kubelet/util/pluginwatcher/plugin_watcher.go @@ -111,7 +111,7 @@ func (w *Watcher) Start() error { //TODO: Handle errors by taking corrective measures w.wg.Add(1) - go func() { + func() { defer w.wg.Done() if event.Op&fsnotify.Create == fsnotify.Create {