We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2106b5 commit b13aab9Copy full SHA for b13aab9
pkg/controlplane/controller/leaderelection/election.go
@@ -23,7 +23,6 @@ import (
23
"github.com/blang/semver/v4"
24
v1 "k8s.io/api/coordination/v1"
25
v1alpha1 "k8s.io/api/coordination/v1alpha1"
26
- "k8s.io/klog/v2"
27
"k8s.io/utils/clock"
28
)
29
@@ -37,11 +36,6 @@ func pickBestLeaderOldestEmulationVersion(candidates []*v1alpha1.LeaseCandidate)
37
36
electee = c
38
}
39
40
- if electee == nil {
41
- klog.Infof("pickBestLeader: none found")
42
- } else {
43
- klog.Infof("pickBestLeader: %s %s", electee.Namespace, electee.Name)
44
- }
45
return electee
46
47
0 commit comments