mirror of
https://github.com/rancher/norman.git
synced 2025-05-10 09:05:30 +00:00
Remove unneeded imports in code templates
This commit is contained in:
parent
00d350370e
commit
e5c98bf4da
@ -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"
|
||||
|
@ -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"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user