mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Forces fsnotify CREATE and REMOVE to occur serially
This commit is contained in:
parent
ce68cfa453
commit
e86bdc7989
@ -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
Block a user