Explode anchors now applies to map keys too

This commit is contained in:
Mike Farah
2020-09-13 11:26:07 +10:00
parent 7dabc57b65
commit eedbb0a99f
2 changed files with 21 additions and 0 deletions
+4
View File
@@ -202,6 +202,10 @@ func explodeNode(node *yaml.Node) error {
if errorInContent != nil {
return errorInContent
}
errorInContent = explodeNode(keyNode)
if errorInContent != nil {
return errorInContent
}
} else {
if valueNode.Kind == yaml.SequenceNode {
log.Debugf("an alias merge list!")