You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe Thread.current[:namespace_watch_retry_count] is never initialised if there are no namespace related events before the API server disconnects. So basically only the ERROR case is executed in the watcher block.
The same problem could happen with the pod watcher as well, but I didn't observe it there as we have many pod related events, while our namespaces do not really change.
@qingling128 what would be the good place to initialise the variable to handle this case?
The text was updated successfully, but these errors were encountered:
I get this error after the plugin is running for a while:
I believe
Thread.current[:namespace_watch_retry_count]
is never initialised if there are no namespace related events before the API server disconnects. So basically only theERROR
case is executed in the watcher block.The same problem could happen with the pod watcher as well, but I didn't observe it there as we have many pod related events, while our namespaces do not really change.
@qingling128 what would be the good place to initialise the variable to handle this case?
The text was updated successfully, but these errors were encountered: