mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
Remove some duped code.
This commit is contained in:
@@ -32,8 +32,8 @@ type Registry struct {
|
||||
}
|
||||
|
||||
const (
|
||||
TransformerSymbol = "Transformer"
|
||||
PluginsDir = "plugins"
|
||||
PluginSymbol = "KustomizePlugin"
|
||||
PluginRoot = "plugins"
|
||||
pluginTypeGo = types.PluginType("go")
|
||||
pluginTypeBuiltIn = types.PluginType("builtin")
|
||||
)
|
||||
@@ -48,7 +48,7 @@ func DefaultPluginConfig() *types.PluginConfig {
|
||||
return &types.PluginConfig{
|
||||
GoEnabled: false,
|
||||
DirectoryPath: filepath.Join(
|
||||
pgmconfig.ConfigRoot(), PluginsDir),
|
||||
pgmconfig.ConfigRoot(), PluginRoot),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user