Push suffix/prefix code to plugin.

This commit is contained in:
jregan
2019-06-11 18:28:28 -07:00
parent fcc3082231
commit 11bb176a3f
19 changed files with 312 additions and 307 deletions

View File

@@ -97,7 +97,7 @@ func (o *nameReferenceTransformer) Transform(m resmap.ResMap) error {
if candidates == nil {
candidates = m.SubsetThatCouldBeReferencedBy(referrer)
}
err := mutateField(
err := MutateField(
res.Map(),
fSpec.PathSlice(),
fSpec.CreateIfNotPresent,