mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
remove the uncessary conversion
This commit is contained in:
@@ -99,7 +99,7 @@ func SubstReferringSetter(definitions *yaml.RNode, key string) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
subst := SubstitutionDefinition{}
|
subst := SubstitutionDefinition{}
|
||||||
if err := yaml.Unmarshal([]byte(b), &subst); err != nil {
|
if err := yaml.Unmarshal(b, &subst); err != nil {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
// Check the ref in value to see if it contains the setter key
|
// Check the ref in value to see if it contains the setter key
|
||||||
|
|||||||
Reference in New Issue
Block a user