mirror of
https://github.com/weaveworks/scope.git
synced 2026-08-18 03:46:45 +00:00
Move timestamp up from 'Latest' string map to Report level
We never merge multiple string values in a single node from different sources, so it's sufficient to take the value from the latest report.
This commit is contained in:
+1
-1
@@ -79,7 +79,7 @@ func hasMoreThanOneConnection(n report.Node, endpoints report.Nodes) bool {
|
||||
firstRealEndpointID := ""
|
||||
for _, endpointID := range n.Adjacency {
|
||||
if ep, ok := endpoints[endpointID]; ok {
|
||||
if copyID, _, ok := ep.Latest.LookupEntry(report.CopyOf); ok {
|
||||
if copyID, ok := ep.Latest.Lookup(report.CopyOf); ok {
|
||||
endpointID = copyID
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user