From e1c418884edbc94ca7a78fb656dd9cde4dcb80ac Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Sun, 15 Apr 2018 09:39:43 +0000 Subject: [PATCH] Comment inconsistency between calls in joinResults --- render/render.go | 1 + 1 file changed, 1 insertion(+) diff --git a/render/render.go b/render/render.go index 27408ef07..eb3b6c8a2 100644 --- a/render/render.go +++ b/render/render.go @@ -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)