mirror of
https://github.com/weaveworks/scope.git
synced 2026-05-22 00:53:06 +00:00
fixup: standardise rhs of Merge dominates
This commit is contained in:
@@ -352,7 +352,7 @@ func (r Report) Merge(other Report) Report {
|
||||
}
|
||||
|
||||
// UnsafeMerge merges another Report into the receiver. The original is modified.
|
||||
// TODO: r must be at least as new as other
|
||||
// 'r' is taken to be older, and Node string values in 'other' will override
|
||||
func (r *Report) UnsafeMerge(other Report) {
|
||||
r.DNS = r.DNS.Merge(other.DNS)
|
||||
r.Sampling = r.Sampling.Merge(other.Sampling)
|
||||
|
||||
Reference in New Issue
Block a user