mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-08 16:30:57 -04:00
Forces fsnotify CREATE and REMOVE to occur serially
This commit is contained in:
parent
ce68cfa453
commit
e86bdc7989
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue