app/vmagent/remotewrite: typo fix after c914e4dace

This commit is contained in:
Aliaksandr Valialkin 2022-10-13 12:04:10 +03:00
parent 9bf8d64605
commit c7360e1fa0
No known key found for this signature in database
GPG Key ID: A72BEC6CD3D0DED1

View File

@ -124,7 +124,7 @@ func (rctx *relabelCtx) applyRelabeling(tss []prompbmarshal.TimeSeries, extraLab
}
}
labels = pcs.Apply(labels, labelsLen)
labels = promrelabel.FinalizeLabels(labels[:labelsLen], labels)
labels = promrelabel.FinalizeLabels(labels[:labelsLen], labels[labelsLen:])
if len(labels) == labelsLen {
// Drop the current time series, since relabeling removed all the labels.
continue