Skip to content

Commit ded4f2f

Browse files
eero-tPaweł Szulik
authored andcommitted
Remove unused MetricSet.Append() method
1 parent b342642 commit ded4f2f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

container/factory.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -144,16 +144,6 @@ func (ms MetricSet) Difference(ms1 MetricSet) MetricSet {
144144
return result
145145
}
146146

147-
func (ms MetricSet) Append(ms1 MetricSet) MetricSet {
148-
result := ms
149-
for kind := range ms1 {
150-
if !ms.Has(kind) {
151-
result.Add(kind)
152-
}
153-
}
154-
return result
155-
}
156-
157147
// All registered auth provider plugins.
158148
var pluginsLock sync.Mutex
159149
var plugins = make(map[string]Plugin)

0 commit comments

Comments
 (0)