From 1f215467abf2faf649e5ae6ac161439070fed510 Mon Sep 17 00:00:00 2001 From: killianmuldoon Date: Fri, 5 Aug 2022 14:54:12 +0100 Subject: [PATCH] Remove logger from ControlPlane internal Signed-off-by: killianmuldoon --- controlplane/kubeadm/internal/control_plane.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/controlplane/kubeadm/internal/control_plane.go b/controlplane/kubeadm/internal/control_plane.go index e649959c9925..59d02759c443 100644 --- a/controlplane/kubeadm/internal/control_plane.go +++ b/controlplane/kubeadm/internal/control_plane.go @@ -26,7 +26,6 @@ import ( "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" kerrors "k8s.io/apimachinery/pkg/util/errors" "k8s.io/apiserver/pkg/storage/names" - "k8s.io/klog/v2/klogr" "sigs.k8s.io/controller-runtime/pkg/client" clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1" @@ -38,9 +37,6 @@ import ( "sigs.k8s.io/cluster-api/util/patch" ) -// Log is the global logger for the internal package. -var Log = klogr.New() - // ControlPlane holds business logic around control planes. // It should never need to connect to a service, that responsibility lies outside of this struct. // Going forward we should be trying to add more logic to here and reduce the amount of logic in the reconciler.