mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 08:55:55 -04:00
kube-apiserver/leaderelection: remove klog noise
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
This commit is contained in:
parent
a2106b5f73
commit
b13aab9cf1
1 changed files with 0 additions and 6 deletions
|
|
@ -23,7 +23,6 @@ import (
|
|||
"github.com/blang/semver/v4"
|
||||
v1 "k8s.io/api/coordination/v1"
|
||||
v1alpha1 "k8s.io/api/coordination/v1alpha1"
|
||||
"k8s.io/klog/v2"
|
||||
"k8s.io/utils/clock"
|
||||
)
|
||||
|
||||
|
|
@ -37,11 +36,6 @@ func pickBestLeaderOldestEmulationVersion(candidates []*v1alpha1.LeaseCandidate)
|
|||
electee = c
|
||||
}
|
||||
}
|
||||
if electee == nil {
|
||||
klog.Infof("pickBestLeader: none found")
|
||||
} else {
|
||||
klog.Infof("pickBestLeader: %s %s", electee.Namespace, electee.Name)
|
||||
}
|
||||
return electee
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue