mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +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{}
|
||||
if err := yaml.Unmarshal([]byte(b), &subst); err != nil {
|
||||
if err := yaml.Unmarshal(b, &subst); err != nil {
|
||||
continue
|
||||
}
|
||||
// Check the ref in value to see if it contains the setter key
|
||||
|
||||
Reference in New Issue
Block a user