c0617ceda4
This change fixes a small race condition that occurred when the current leader failed to renew its lease. Before this change, the leader would first release the lease via the Kube API and then would update its in-memory status to reflect that change. Now those events occur in the reverse (i.e. correct) order. Signed-off-by: Monis Khan <mok@vmware.com> |
||
---|---|---|
.. | ||
leaderelection_test.go | ||
leaderelection.go |