mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-16 20:11:09 +00:00
cosmetic
This commit is contained in:
@@ -81,8 +81,7 @@ func (m *Map) Render(rpt report.Report, dct Decorator) report.Nodes {
|
||||
// Rewrite all the nodes according to the map function
|
||||
for _, inRenderable := range input {
|
||||
for _, outRenderable := range m.MapFunc(inRenderable, localNetworks) {
|
||||
existing, ok := output[outRenderable.ID]
|
||||
if ok {
|
||||
if existing, ok := output[outRenderable.ID]; ok {
|
||||
outRenderable = outRenderable.Merge(existing)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user