diff --git a/controller/proxy-injector/webhook.go b/controller/proxy-injector/webhook.go index 5c757c5339b16..0572759c54e46 100644 --- a/controller/proxy-injector/webhook.go +++ b/controller/proxy-injector/webhook.go @@ -12,7 +12,7 @@ import ( "github.com/linkerd/linkerd2/pkg/inject" pkgK8s "github.com/linkerd/linkerd2/pkg/k8s" "github.com/linkerd/linkerd2/pkg/version" - "github.com/sirupsen/logrus" + log "github.com/sirupsen/logrus" admissionv1beta1 "k8s.io/api/admission/v1beta1" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" @@ -25,8 +25,6 @@ const ( eventTypeInjected = "Injected" ) -var log = logrus.New() - // Inject returns the function that produces an AdmissionResponse containing // the patch, if any, to apply to the pod (proxy sidecar and eventually the // init container to set it up)