Open blumamir opened 4 months ago
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
/lifecycle rotten
What happened: I got a panic in my application when using this code:
StackTrace:
After investigating, I found that Manager
Run()
function is attempting to create new watcher, but ignores the error coming back from this call.In my case, the call fails, and
fsWatcher
isnil
which causes the above panic.How to reproduce it (as minimally and precisely as possible):
To reproduce, open the k8s node terminal:
Then, try to create a manager and it should panic as above
Additional context: I think the
Run()
function should return anerror
when thefsnotify.NewWatcher()
failsEnvironment: