From abd533a3550363f68c4d4f22ba4256bbaea5eb40 Mon Sep 17 00:00:00 2001 From: Eduardo Apolinario Date: Mon, 22 Jan 2024 14:17:42 -0800 Subject: [PATCH] Lint Signed-off-by: Eduardo Apolinario --- flyteplugins/go/tasks/pluginmachinery/k8s/client.go | 2 +- .../plugins/k8s/kfoperators/common/common_operator_test.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/flyteplugins/go/tasks/pluginmachinery/k8s/client.go b/flyteplugins/go/tasks/pluginmachinery/k8s/client.go index f14ae2c8a0..0ab46081e9 100644 --- a/flyteplugins/go/tasks/pluginmachinery/k8s/client.go +++ b/flyteplugins/go/tasks/pluginmachinery/k8s/client.go @@ -69,7 +69,7 @@ func NewKubeClient(config *rest.Config, options Options) (core.KubeClient, error if options.ClientOptions == nil { options.ClientOptions = &client.Options{ HTTPClient: httpClient, - Mapper: mapper, + Mapper: mapper, } } diff --git a/flyteplugins/go/tasks/plugins/k8s/kfoperators/common/common_operator_test.go b/flyteplugins/go/tasks/plugins/k8s/kfoperators/common/common_operator_test.go index b319218a22..bf7d537416 100644 --- a/flyteplugins/go/tasks/plugins/k8s/kfoperators/common/common_operator_test.go +++ b/flyteplugins/go/tasks/plugins/k8s/kfoperators/common/common_operator_test.go @@ -2,7 +2,7 @@ package common import ( "fmt" - "os" + "os" "testing" "time" @@ -26,7 +26,6 @@ func TestMain(m *testing.M) { os.Exit(code) } - func TestExtractCurrentCondition(t *testing.T) { jobCreated := commonOp.JobCondition{ Type: commonOp.JobCreated,