mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 01:31:17 +00:00
don't propagate Name in processes2Names
The name is already the id of the node, and that's what summarisation renders. Nothing looks at process.Name.
This commit is contained in:
@@ -146,10 +146,9 @@ func processes2Names(processes Nodes) Nodes {
|
||||
for _, n := range processes.Nodes {
|
||||
if n.Topology == Pseudo {
|
||||
ret.passThrough(n)
|
||||
} else if name, timestamp, ok := n.Latest.LookupEntry(process.Name); ok {
|
||||
} else if name, ok := n.Latest.Lookup(process.Name); ok {
|
||||
ret.addChildAndChildren(n, name, func(id string) report.Node {
|
||||
return report.MakeNode(id).WithTopology(MakeGroupNodeTopology(n.Topology, process.Name)).
|
||||
WithLatest(process.Name, timestamp, name)
|
||||
return report.MakeNode(id).WithTopology(MakeGroupNodeTopology(n.Topology, process.Name))
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user