This commit is contained in:
Matthias Radestock
2016-08-14 17:19:03 +01:00
parent 6334836f69
commit 003e13face
3 changed files with 5 additions and 13 deletions
+1 -2
View File
@@ -81,8 +81,7 @@ func (m *Map) Render(rpt report.Report, dct Decorator) report.Nodes {
// Rewrite all the nodes according to the map function
for _, inRenderable := range input {
for _, outRenderable := range m.MapFunc(inRenderable, localNetworks) {
existing, ok := output[outRenderable.ID]
if ok {
if existing, ok := output[outRenderable.ID]; ok {
outRenderable = outRenderable.Merge(existing)
}