Ignore also DELETE_SELF as CLOSE_WRITE seems sufficent
continuous-integration/drone Build is passing
Details
continuous-integration/drone Build is passing
Details
This commit is contained in:
parent
6f9e5de0b6
commit
6e96d40584
|
@ -330,7 +330,7 @@ async def watcher(loop, queue, coll):
|
|||
return
|
||||
lf = log_files[path] = LogFile(loop, coll, queue, path, namespace_name, pod_name, container_name)
|
||||
lf.done = done
|
||||
inotify.add_watch(path, Mask.MODIFY | Mask.CLOSE_WRITE | Mask.DELETE_SELF)
|
||||
inotify.add_watch(path, Mask.MODIFY | Mask.CLOSE_WRITE)
|
||||
return lf
|
||||
|
||||
inotify.add_watch(ROOT, Mask.CREATE | Mask.ONLYDIR)
|
||||
|
|
Loading…
Reference in New Issue