From e5c98bf4da17c7fc3ff86c52d0921e1a87771d7a Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Sat, 11 Jul 2020 10:01:19 -0700 Subject: [PATCH] Remove unneeded imports in code templates --- generator/k8s_client_template.go | 3 --- generator/lifecycle_template.go | 1 - 2 files changed, 4 deletions(-) diff --git a/generator/k8s_client_template.go b/generator/k8s_client_template.go index 72723a58..34123e9f 100644 --- a/generator/k8s_client_template.go +++ b/generator/k8s_client_template.go @@ -3,9 +3,6 @@ package generator var k8sClientTemplate = `package {{.version.Version}} import ( - "sync" - "context" - "github.com/rancher/lasso/pkg/client" "github.com/rancher/lasso/pkg/controller" "github.com/rancher/norman/objectclient" diff --git a/generator/lifecycle_template.go b/generator/lifecycle_template.go index 9820d1c2..5d77253f 100644 --- a/generator/lifecycle_template.go +++ b/generator/lifecycle_template.go @@ -5,7 +5,6 @@ var lifecycleTemplate = `package {{.schema.Version.Version}} import ( {{.importPackage}} "k8s.io/apimachinery/pkg/runtime" - "github.com/rancher/norman/controller" "github.com/rancher/norman/lifecycle" "github.com/rancher/norman/resource" )