Unverified Commit 023892af authored by k8s-ci-robot's avatar k8s-ci-robot Committed by GitHub

Merge pull request #70525 from seunghunee/issue-69743

Reduce leaderelection's renewed lease verbosity
parents 6813ebb5 920db78b
...@@ -224,7 +224,7 @@ func (le *LeaderElector) renew(ctx context.Context) { ...@@ -224,7 +224,7 @@ func (le *LeaderElector) renew(ctx context.Context) {
le.maybeReportTransition() le.maybeReportTransition()
desc := le.config.Lock.Describe() desc := le.config.Lock.Describe()
if err == nil { if err == nil {
glog.V(4).Infof("successfully renewed lease %v", desc) glog.V(5).Infof("successfully renewed lease %v", desc)
return return
} }
le.config.Lock.RecordEvent("stopped leading") le.config.Lock.RecordEvent("stopped leading")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment