Fix: Include forgotten LabelSet.MergeFromMetric.
This commit is contained in:
parent
5cadb31d7c
commit
6da8b95237
|
@ -55,3 +55,9 @@ func (l LabelSet) String() string {
|
|||
return fmt.Sprintf("{%s}", strings.Join(labelStrings, ", "))
|
||||
}
|
||||
}
|
||||
|
||||
func (l LabelSet) MergeFromMetric(m Metric) {
|
||||
for k, v := range m {
|
||||
l[k] = v
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue