From d754562dd957e511d237f28ce0f61826789545cf Mon Sep 17 00:00:00 2001 From: Katrina Rogan Date: Fri, 6 Oct 2023 13:43:10 -0700 Subject: [PATCH] imports Signed-off-by: Katrina Rogan --- cmd/update/execution.go | 2 +- cmd/update/execution_test.go | 3 --- cmd/update/launch_plan.go | 2 +- cmd/update/launch_plan_meta_test.go | 4 ---- cmd/update/launch_plan_test.go | 5 ----- cmd/update/named_entity.go | 2 +- cmd/update/named_entity_test.go | 4 +++- cmd/update/project.go | 3 +-- cmd/update/project_test.go | 5 ++--- cmd/update/task_meta_test.go | 4 ---- cmd/update/workflow_meta_test.go | 4 ---- 11 files changed, 9 insertions(+), 29 deletions(-) diff --git a/cmd/update/execution.go b/cmd/update/execution.go index d70b36ed..61153a6d 100644 --- a/cmd/update/execution.go +++ b/cmd/update/execution.go @@ -7,11 +7,11 @@ import ( "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "github.com/flyteorg/flyte/flytestdlib/logger" "github.com/flyteorg/flytectl/clierrors" "github.com/flyteorg/flytectl/cmd/config" "github.com/flyteorg/flytectl/cmd/config/subcommand/execution" cmdCore "github.com/flyteorg/flytectl/cmd/core" - cmdUtil "github.com/flyteorg/flytectl/pkg/commandutils" ) const ( diff --git a/cmd/update/execution_test.go b/cmd/update/execution_test.go index e1695319..44c111b3 100644 --- a/cmd/update/execution_test.go +++ b/cmd/update/execution_test.go @@ -5,11 +5,8 @@ import ( "testing" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - "github.com/flyteorg/flytectl/cmd/config" "github.com/flyteorg/flytectl/cmd/config/subcommand/execution" "github.com/flyteorg/flytectl/cmd/testutils" - "github.com/flyteorg/flytectl/pkg/ext" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" diff --git a/cmd/update/launch_plan.go b/cmd/update/launch_plan.go index 28b7c627..db53d984 100644 --- a/cmd/update/launch_plan.go +++ b/cmd/update/launch_plan.go @@ -7,11 +7,11 @@ import ( "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "github.com/flyteorg/flyte/flytestdlib/logger" "github.com/flyteorg/flytectl/clierrors" "github.com/flyteorg/flytectl/cmd/config" "github.com/flyteorg/flytectl/cmd/config/subcommand/launchplan" cmdCore "github.com/flyteorg/flytectl/cmd/core" - cmdUtil "github.com/flyteorg/flytectl/pkg/commandutils" ) const ( diff --git a/cmd/update/launch_plan_meta_test.go b/cmd/update/launch_plan_meta_test.go index c2a8d637..9eba700d 100644 --- a/cmd/update/launch_plan_meta_test.go +++ b/cmd/update/launch_plan_meta_test.go @@ -4,12 +4,8 @@ import ( "fmt" "testing" - "github.com/google/go-cmp/cmp" - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" "github.com/flyteorg/flytectl/cmd/testutils" - "github.com/flyteorg/flytectl/pkg/ext" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" diff --git a/cmd/update/launch_plan_test.go b/cmd/update/launch_plan_test.go index f9c3d7dc..73ac499b 100644 --- a/cmd/update/launch_plan_test.go +++ b/cmd/update/launch_plan_test.go @@ -4,14 +4,9 @@ import ( "fmt" "testing" - "github.com/google/go-cmp/cmp" - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - "github.com/flyteorg/flytectl/cmd/config" "github.com/flyteorg/flytectl/cmd/config/subcommand/launchplan" "github.com/flyteorg/flytectl/cmd/testutils" - "github.com/flyteorg/flytectl/pkg/ext" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" diff --git a/cmd/update/named_entity.go b/cmd/update/named_entity.go index 449639d7..2397cc5f 100644 --- a/cmd/update/named_entity.go +++ b/cmd/update/named_entity.go @@ -7,9 +7,9 @@ import ( "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "github.com/flyteorg/flyte/flytestdlib/logger" "github.com/flyteorg/flytectl/clierrors" cmdCore "github.com/flyteorg/flytectl/cmd/core" - cmdUtil "github.com/flyteorg/flytectl/pkg/commandutils" ) //go:generate pflags NamedEntityConfig --default-var namedEntityConfig --bind-default-var diff --git a/cmd/update/named_entity_test.go b/cmd/update/named_entity_test.go index b02d6a50..9616dcd6 100644 --- a/cmd/update/named_entity_test.go +++ b/cmd/update/named_entity_test.go @@ -4,7 +4,9 @@ import ( "context" "fmt" - "github.com/google/go-cmp/cmp" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "github.com/flyteorg/flytectl/cmd/testutils" "github.com/stretchr/testify/mock" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" diff --git a/cmd/update/project.go b/cmd/update/project.go index b9c2f17e..412cce18 100644 --- a/cmd/update/project.go +++ b/cmd/update/project.go @@ -5,12 +5,11 @@ import ( "fmt" "os" - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" + "github.com/flyteorg/flyte/flytestdlib/logger" "github.com/flyteorg/flytectl/clierrors" "github.com/flyteorg/flytectl/cmd/config" "github.com/flyteorg/flytectl/cmd/config/subcommand/project" cmdCore "github.com/flyteorg/flytectl/cmd/core" - cmdUtil "github.com/flyteorg/flytectl/pkg/commandutils" ) const ( diff --git a/cmd/update/project_test.go b/cmd/update/project_test.go index 2f3fd11a..264bbf6f 100644 --- a/cmd/update/project_test.go +++ b/cmd/update/project_test.go @@ -4,11 +4,10 @@ import ( "fmt" "testing" - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" "github.com/flyteorg/flytectl/cmd/config/subcommand/project" - "github.com/flyteorg/flytectl/cmd/testutils" - "github.com/flyteorg/flytectl/pkg/ext" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" + "github.com/flyteorg/flytectl/clierrors" "github.com/flyteorg/flytectl/cmd/config" "github.com/stretchr/testify/assert" diff --git a/cmd/update/task_meta_test.go b/cmd/update/task_meta_test.go index 01d9f3c7..7eaa171d 100644 --- a/cmd/update/task_meta_test.go +++ b/cmd/update/task_meta_test.go @@ -4,12 +4,8 @@ import ( "fmt" "testing" - "github.com/google/go-cmp/cmp" - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" "github.com/flyteorg/flytectl/cmd/testutils" - "github.com/flyteorg/flytectl/pkg/ext" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" diff --git a/cmd/update/workflow_meta_test.go b/cmd/update/workflow_meta_test.go index cfdc6287..f0481ec6 100644 --- a/cmd/update/workflow_meta_test.go +++ b/cmd/update/workflow_meta_test.go @@ -4,12 +4,8 @@ import ( "fmt" "testing" - "github.com/google/go-cmp/cmp" - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" "github.com/flyteorg/flytectl/cmd/testutils" - "github.com/flyteorg/flytectl/pkg/ext" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock"