app/vmagent/remotewrite: typo fix after 50f5eae0e0

This commit is contained in:
Aliaksandr Valialkin 2022-10-13 10:18:57 +03:00
parent 96a106eab2
commit c914e4dace
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[:0], labels)
labels = promrelabel.FinalizeLabels(labels[:labelsLen], labels)
if len(labels) == labelsLen {
// Drop the current time series, since relabeling removed all the labels.
continue