app/vmagent/remotewrite: typo fix after c914e4dace

This commit is contained in:
Aliaksandr Valialkin 2022-10-13 12:04:10 +03:00
parent e6fd33044f
commit 92f7fe306e
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