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
datapath/orchestrator: Make sure calls to Reinitialize() don't deadlock
commit b22b49d ("datapath: Fix error handling in orchestrator
reinitialize") changed the logic inside reinitialize such that errChan
only receives a value if err != nil, so successful calls to Reinitialize
will block forever.
Simplify the logic around errChan a bit and make sure that it always
receives a value whether or not reinitialize() succeeds or fails.
Fixes: b22b49d ("datapath: Fix error handling in orchestrator reinitialize")
Signed-off-by: Jordan Rife <jrife@google.com>
0 commit comments