From b9b46cb8dc94fb12958dc7d131028f8d649d3479 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Fri, 28 Feb 2020 19:03:16 +0200 Subject: [PATCH] app/vmagent/remotewrite: typo fix --- app/vmagent/remotewrite/remotewrite.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/vmagent/remotewrite/remotewrite.go b/app/vmagent/remotewrite/remotewrite.go index 9f0dedc1a..1a0fb8376 100644 --- a/app/vmagent/remotewrite/remotewrite.go +++ b/app/vmagent/remotewrite/remotewrite.go @@ -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) }