Skip to content

Commit

Permalink
Merge pull request #7028 from killianmuldoon/controlplane/remove-logger
Browse files Browse the repository at this point in the history
🌱 Remove logger from ControlPlane internal
  • Loading branch information
k8s-ci-robot authored Aug 5, 2022
2 parents 5dcb8e0 + 1f21546 commit 2fc48a8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions controlplane/kubeadm/internal/control_plane.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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.
Expand Down

0 comments on commit 2fc48a8

Please sign in to comment.