From 474e9b6ca1403dff2cd2f237b142ae48a8773287 Mon Sep 17 00:00:00 2001 From: Joe Lanford Date: Mon, 5 Oct 2020 17:38:43 -0400 Subject: [PATCH] cmd/ansible|helm-operator: minor nit improvements --- cmd/ansible-operator/main.go | 5 +---- cmd/helm-operator/main.go | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/cmd/ansible-operator/main.go b/cmd/ansible-operator/main.go index 9af2890fa8..12f79ce780 100644 --- a/cmd/ansible-operator/main.go +++ b/cmd/ansible-operator/main.go @@ -17,11 +17,8 @@ package main import ( "log" - // Import all Kubernetes client auth plugins (e.g. Azure, GCP, OIDC, etc.) - // to ensure that `exec-entrypoint` and `run` can make use of them. - _ "k8s.io/client-go/plugin/pkg/client/auth" - "github.com/spf13/cobra" + _ "k8s.io/client-go/plugin/pkg/client/auth" "github.com/operator-framework/operator-sdk/internal/cmd/ansible-operator/run" "github.com/operator-framework/operator-sdk/internal/cmd/ansible-operator/version" diff --git a/cmd/helm-operator/main.go b/cmd/helm-operator/main.go index ab672833bd..c223adcea3 100644 --- a/cmd/helm-operator/main.go +++ b/cmd/helm-operator/main.go @@ -17,11 +17,8 @@ package main import ( "log" - // Import all Kubernetes client auth plugins (e.g. Azure, GCP, OIDC, etc.) - // to ensure that `exec-entrypoint` and `run` can make use of them. - _ "k8s.io/client-go/plugin/pkg/client/auth" - "github.com/spf13/cobra" + _ "k8s.io/client-go/plugin/pkg/client/auth" "github.com/operator-framework/operator-sdk/internal/cmd/helm-operator/run" "github.com/operator-framework/operator-sdk/internal/cmd/helm-operator/version"