mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vmctl: fix empty/skipped labels after db label (#2536)
Do not assume the db label to be the last one and also make sure we are not skipping it and everything afterwards. Breaking the loop would cause following labels to be empty.
This commit is contained in:
parent
2ce1d09135
commit
68ca7e3e56
1 changed files with 0 additions and 1 deletions
|
@ -120,7 +120,6 @@ func (ip *influxProcessor) do(s *influx.Series) error {
|
|||
for i, lp := range s.LabelPairs {
|
||||
if lp.Name == dbLabel {
|
||||
containsDBLabel = true
|
||||
break
|
||||
}
|
||||
labels[i] = vm.LabelPair{
|
||||
Name: lp.Name,
|
||||
|
|
Loading…
Reference in a new issue