mirror of
https://github.com/weaveworks/scope.git
synced 2026-08-18 11:56:39 +00:00
Typo
This commit is contained in:
+1
-1
@@ -201,7 +201,7 @@ func (n NodeMetadata) WithAdjacency(a IDList) NodeMetadata {
|
||||
// WithAdjacent returns a fresh copy of n, with 'a' added to Adjacency
|
||||
func (n NodeMetadata) WithAdjacent(a string) NodeMetadata {
|
||||
result := n.Copy()
|
||||
n.Adjacency = n.Adjacency.Add(a)
|
||||
result.Adjacency = result.Adjacency.Add(a)
|
||||
return result
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user