Merge pull request #4190 from natasha41575/MigrateIndexPathIdAnnotations

Migrate index path id annotations
This commit is contained in:
Jeff Regan
2021-09-24 08:00:15 -07:00
committed by GitHub
36 changed files with 1053 additions and 92 deletions

View File

@@ -76,6 +76,10 @@ func (w ByteWriter) Write(inputNodes []*yaml.RNode) error {
if err != nil {
return errors.Wrap(err)
}
_, err = nodes[i].Pipe(yaml.ClearAnnotation(kioutil.LegacyIndexAnnotation))
if err != nil {
return errors.Wrap(err)
}
_, err = nodes[i].Pipe(yaml.ClearAnnotation(kioutil.SeqIndentAnnotation))
if err != nil {