diff --git a/pkg/controlplane/controller/leaderelection/election.go b/pkg/controlplane/controller/leaderelection/election.go index 3f8dbd20667..dde32d41bdb 100644 --- a/pkg/controlplane/controller/leaderelection/election.go +++ b/pkg/controlplane/controller/leaderelection/election.go @@ -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 }