mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-18 04:49:55 +00:00
remove superfluous fixupAdjacencies calls
fixupAdjacencies fixes up adjancencies of mapped nodes. The nodes at the call sites we are removing aren't mapped.
This commit is contained in:
@@ -100,7 +100,6 @@ func (c connectionJoin) Render(rpt report.Report) Nodes {
|
||||
}
|
||||
}
|
||||
ret.copyUnmatched(inputNodes)
|
||||
ret.fixupAdjacencies(inputNodes)
|
||||
ret.fixupAdjacencies(endpoints)
|
||||
return ret.result()
|
||||
}
|
||||
|
||||
@@ -116,7 +116,6 @@ func (e endpoints2Processes) Render(rpt report.Report) Nodes {
|
||||
}
|
||||
}
|
||||
ret.copyUnmatched(processes)
|
||||
ret.fixupAdjacencies(processes)
|
||||
ret.fixupAdjacencies(endpoints)
|
||||
return ret.result()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user