mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00: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
@ -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 New Issue
Block a user