Preserve order when merging.

This commit is contained in:
Jeffrey Regan
2019-06-03 11:22:53 -07:00
committed by jregan
parent c094780aae
commit c63ebbdfc4
9 changed files with 254 additions and 271 deletions

View File

@@ -140,7 +140,7 @@ func (p *ExecPlugin) Transform(rm resmap.ResMap) error {
}
// encode the ResMap so it can be fed to the plugin
resources, err := inputRM.EncodeAsYaml()
resources, err := inputRM.AsYaml(resmap.Identity)
if err != nil {
return err
}