From 274ada5fa9bab269c8d206f0f9846997d9ee5159 Mon Sep 17 00:00:00 2001 From: Bradley Laney Date: Fri, 8 Nov 2024 15:54:36 -0500 Subject: [PATCH] lint fixes --- master/internal/rm/kubernetesrm/jobs.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/master/internal/rm/kubernetesrm/jobs.go b/master/internal/rm/kubernetesrm/jobs.go index 23517d1ca26..8a50d1d58cc 100644 --- a/master/internal/rm/kubernetesrm/jobs.go +++ b/master/internal/rm/kubernetesrm/jobs.go @@ -29,7 +29,6 @@ import ( k8sClient "k8s.io/client-go/kubernetes" typedBatchV1 "k8s.io/client-go/kubernetes/typed/batch/v1" typedV1 "k8s.io/client-go/kubernetes/typed/core/v1" - _ "k8s.io/client-go/plugin/pkg/client/auth" "k8s.io/client-go/rest" "k8s.io/client-go/tools/cache" "k8s.io/client-go/tools/clientcmd" @@ -39,6 +38,9 @@ import ( gateway "sigs.k8s.io/gateway-api/pkg/client/clientset/versioned/typed/apis/v1" alphaGateway "sigs.k8s.io/gateway-api/pkg/client/clientset/versioned/typed/apis/v1alpha2" + // Used to load all auth plugins. + _ "k8s.io/client-go/plugin/pkg/client/auth" + "github.com/determined-ai/determined/master/internal/config" "github.com/determined-ai/determined/master/internal/db" "github.com/determined-ai/determined/master/internal/rm"