mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 00:13:30 +01:00
app/vmagent/remotewrite: do not reset empty relabelCtx
This commit is contained in:
parent
af19ca2483
commit
808c17e250
@ -106,7 +106,9 @@ func Push(wr *prompbmarshal.WriteRequest) {
|
||||
for _, rwctx := range rwctxs {
|
||||
rwctx.Push(tssBlock)
|
||||
}
|
||||
rctx.reset()
|
||||
if rctx != nil {
|
||||
rctx.reset()
|
||||
}
|
||||
}
|
||||
if rctx != nil {
|
||||
putRelabelCtx(rctx)
|
||||
|
Loading…
Reference in New Issue
Block a user