forked from mirrors/relay
Fix merge
This commit is contained in:
parent
9a9d09c0c4
commit
4e1a782bea
1 changed files with 2 additions and 1 deletions
|
@ -136,7 +136,8 @@ impl MergeCounter {
|
||||||
labels: start.labels,
|
labels: start.labels,
|
||||||
value: start.value.saturating_sub(end.value),
|
value: start.value.saturating_sub(end.value),
|
||||||
}),
|
}),
|
||||||
(Some(only), None) | (None, Some(only)) => Some(Counter {
|
(Some(only), None) => Some(only),
|
||||||
|
(None, Some(only)) => Some(Counter {
|
||||||
labels: only.labels,
|
labels: only.labels,
|
||||||
value: 0,
|
value: 0,
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue