app/vmagent/remotewrite: typo fix

This commit is contained in:
Aliaksandr Valialkin 2020-02-28 19:03:16 +02:00
parent db6f4e4af1
commit b9b46cb8dc

View File

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