Remove some duped code.

This commit is contained in:
jregan
2019-04-06 16:04:04 -07:00
parent 38029d1836
commit b32e041bfe
11 changed files with 106 additions and 129 deletions

View File

@@ -18,11 +18,11 @@ import (
"sigs.k8s.io/kustomize/pkg/transformers/config"
)
type plugin struct{
type plugin struct {
prefix string
}
var Transformer plugin
var KustomizePlugin plugin
func (p *plugin) Config(k ifc.Kunstructured) error {
var err error