mirror of
https://github.com/weaveworks/scope.git
synced 2026-02-14 18:09:59 +00:00
Fix tests broken by hasty merging
This commit is contained in:
@@ -74,7 +74,7 @@ func (n NodeSet) Delete(ids ...string) NodeSet {
|
||||
|
||||
// UnsafeMerge combines the two NodeSets, altering n
|
||||
func (n *NodeSet) UnsafeMerge(other NodeSet) {
|
||||
if other.psMap == nil {
|
||||
if other.psMap == nil || other.psMap.Size() == 0 {
|
||||
return
|
||||
}
|
||||
if n.psMap == nil {
|
||||
|
||||
Reference in New Issue
Block a user