Comment inconsistency between calls in joinResults

This commit is contained in:
Bryan Boreham
2018-04-15 09:39:43 +00:00
parent 3711876194
commit e1c418884e

View File

@@ -169,6 +169,7 @@ func (ret *joinResults) mapChild(from, to string) {
}
// Add m into the results as a top-level node, mapped from original ID
// Note it is not safe to mix calls to add() with addChild(), addChildAndChildren() or addUnmappedChild()
func (ret *joinResults) add(from string, m report.Node) {
if existing, ok := ret.nodes[m.ID]; ok {
m = m.Merge(existing)