mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 02:00:43 +00:00
don't create *derived* nodes in nodeToIP
IP nodes are children of the "proper" topology nodes, not the other way round. The former relationship is established in ipToNode.
This commit is contained in:
@@ -51,7 +51,7 @@ func ConnectionJoin(toIPs func(report.Node) []string, r Renderer) Renderer {
|
||||
nodeToIP := func(n report.Node, _ report.Networks) report.Nodes {
|
||||
result := report.Nodes{}
|
||||
for _, ip := range toIPs(n) {
|
||||
result[ip] = NewDerivedNode(ip, n).
|
||||
result[ip] = report.MakeNode(ip).
|
||||
WithTopology(IP).
|
||||
WithLatests(map[string]string{
|
||||
originalNodeID: n.ID,
|
||||
|
||||
Reference in New Issue
Block a user