mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 02:00:43 +00:00
cleaning up old todo
This commit is contained in:
@@ -362,9 +362,7 @@ func MapContainer2Hostname(n report.Node, _ report.Networks) report.Nodes {
|
||||
}
|
||||
|
||||
node := NewDerivedNode(id, n).WithTopology(MakeGroupNodeTopology(n.Topology, docker.ContainerHostname))
|
||||
node.Latest = node.Latest.
|
||||
Set(docker.ContainerHostname, timestamp, id).
|
||||
Delete(docker.ContainerName) // TODO(paulbellamy): total hack to render these by hostname instead.
|
||||
node.Latest = node.Latest.Set(docker.ContainerHostname, timestamp, id)
|
||||
node.Counters = node.Counters.Add(n.Topology, 1)
|
||||
return report.Nodes{id: node}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user