UnwrapDoc now private

This commit is contained in:
Mike Farah
2021-02-11 10:58:40 +11:00
parent ba223df4ac
commit b749973fe0
17 changed files with 27 additions and 27 deletions
+2 -2
View File
@@ -57,8 +57,8 @@ func sequenceFor(d *dataTreeNavigator, matchingNode *CandidateNode, pathNode *Pa
log.Debugf("LHS:", NodeToString(lhs))
log.Debugf("RHS:", NodeToString(rhs))
node.Content = []*yaml.Node{
UnwrapDoc(lhs.Node),
UnwrapDoc(rhs.Node),
unwrapDoc(lhs.Node),
unwrapDoc(rhs.Node),
}
return &CandidateNode{Node: &node, Document: document, Path: path}, nil