app/vmagent/remotewrite: yet another typo fix

This commit is contained in:
Aliaksandr Valialkin 2020-02-28 20:03:38 +02:00
parent c2e602286c
commit 0eed71c7f4

View file

@ -112,6 +112,8 @@ func Push(wr *prompbmarshal.WriteRequest) {
if len(tssBlock) > maxRowsPerBlock {
tssBlock = tss[:maxRowsPerBlock]
tss = tss[maxRowsPerBlock:]
} else {
tss = nil
}
tssBlock = rctx.applyRelabeling(tssBlock)
idx := atomic.AddUint64(&pssNextIdx, 1) % uint64(len(pss))