mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 02:00:43 +00:00
tiny simplifying refactor
This commit is contained in:
@@ -106,7 +106,7 @@ func (c *connectionCounters) add(sourceEndpoint report.Node, n report.Node, node
|
||||
}
|
||||
c.counted[connectionID] = struct{}{}
|
||||
key := newConnection(n, node, port, endpointID, localAddr)
|
||||
c.counts[key] = c.counts[key] + 1
|
||||
c.counts[key]++
|
||||
}
|
||||
|
||||
func (c *connectionCounters) rows(r report.Report, ns report.Nodes, includeLocal bool) []Connection {
|
||||
|
||||
Reference in New Issue
Block a user