Skip to content

Commit 8205ff6

Browse files
authored
Remove unused import and add comments
Removed unused 'strings' import and added comments for clarity. Signed-off-by: Rahul Naskar <143400898+rahul810050@users.noreply.github.com>
1 parent a84db7c commit 8205ff6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cmd/operator/controller/start.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ import (
2323
"fmt"
2424
"os"
2525
"slices"
26-
"strings"
2726
"time"
2827

28+
// Import all Kubernetes client auth plugins (e.g. Azure, GCP, OIDC, etc.)
29+
// to ensure that exec-entrypoint and run can make use of them.
2930
_ "k8s.io/client-go/plugin/pkg/client/auth"
3031
"k8s.io/client-go/rest"
3132

@@ -62,8 +63,8 @@ import (
6263
"github.com/kubeflow/spark-operator/v2/pkg/common"
6364
operatorscheme "github.com/kubeflow/spark-operator/v2/pkg/scheme"
6465
"github.com/kubeflow/spark-operator/v2/pkg/util"
66+
// +kubebuilder:scaffold:imports
6567
)
66-
6768
var (
6869
logger = ctrl.Log.WithName("")
6970
)

0 commit comments

Comments
 (0)