Skip to content

Commit 2fc48a8

Browse files
authored
Merge pull request #7028 from killianmuldoon/controlplane/remove-logger
🌱 Remove logger from ControlPlane internal
2 parents 5dcb8e0 + 1f21546 commit 2fc48a8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

controlplane/kubeadm/internal/control_plane.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import (
2626
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
2727
kerrors "k8s.io/apimachinery/pkg/util/errors"
2828
"k8s.io/apiserver/pkg/storage/names"
29-
"k8s.io/klog/v2/klogr"
3029
"sigs.k8s.io/controller-runtime/pkg/client"
3130

3231
clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"
@@ -38,9 +37,6 @@ import (
3837
"sigs.k8s.io/cluster-api/util/patch"
3938
)
4039

41-
// Log is the global logger for the internal package.
42-
var Log = klogr.New()
43-
4440
// ControlPlane holds business logic around control planes.
4541
// It should never need to connect to a service, that responsibility lies outside of this struct.
4642
// Going forward we should be trying to add more logic to here and reduce the amount of logic in the reconciler.

0 commit comments

Comments
 (0)