mirror of https://github.com/k3s-io/k3s.git
Merge pull request #71440 from vladimirvivien/csi-registration-annotation-fix
Fix for race condition caused by concurrent fsnotify (CREATE and REMOVE) in kubelet/plugin_watcher.gopull/58/head
commit
7b24399fb5
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue