diff --git a/internal/handlers/leader.go b/internal/handlers/leader.go index a885e347e9..52e74795e9 100644 --- a/internal/handlers/leader.go +++ b/internal/handlers/leader.go @@ -19,5 +19,8 @@ func CreateLeaderHandler(lbc *controller.LoadBalancerController) leaderelection. glog.V(3).Infof("error updating status when starting leading: %v", err) } }, + OnStoppedLeading: func() { + glog.V(3).Info("stopped leading") + }, } }