mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-11-06 13:28:22 +00:00
The coordinated leader election runner was launching controller goroutines and returning immediately. This caused OnStartedLeading to return right after starting the controllers, which will soon be incorrect when ReleaseOnCancel is set — the LeaderElector would stop renewing and release the lock.