app/vmagent/remotewrite: typo fix

This commit is contained in:
Aliaksandr Valialkin 2020-02-28 19:03:16 +02:00
parent cc39c9d74b
commit 6cdc97a53f

View file

@ -116,8 +116,8 @@ func Push(wr *prompbmarshal.WriteRequest) {
tssBlock = rctx.applyRelabeling(tssBlock) tssBlock = rctx.applyRelabeling(tssBlock)
idx := atomic.AddUint64(&pssNextIdx, 1) % uint64(len(pss)) idx := atomic.AddUint64(&pssNextIdx, 1) % uint64(len(pss))
pss[idx].Push(tssBlock) pss[idx].Push(tssBlock)
rctx.reset()
} }
rctx.reset()
relabelCtxPool.Put(rctx) relabelCtxPool.Put(rctx)
} }