Skip to content

Commit

Permalink
Don't merge nodes in the rendering pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Wilkie committed Apr 28, 2016
1 parent 64450a4 commit 96f9718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion render/id.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func MakeGroupNodeTopology(originalTopology, key string) string {

// NewDerivedNode makes a node based on node, but with a new ID
func NewDerivedNode(id string, node report.Node) report.Node {
return node.WithID(id).WithChildren(report.MakeNodeSet(node)).PruneParents()
return report.MakeNode(id).WithChildren(report.MakeNodeSet(node))
}

// NewDerivedPseudoNode makes a new pseudo node with the node as a child
Expand Down

0 comments on commit 96f9718

Please sign in to comment.