mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vmagent/remotewrite: do not reset empty relabelCtx
This commit is contained in:
parent
02b55c72dc
commit
c31d640eb9
1 changed files with 3 additions and 1 deletions
|
@ -106,7 +106,9 @@ func Push(wr *prompbmarshal.WriteRequest) {
|
||||||
for _, rwctx := range rwctxs {
|
for _, rwctx := range rwctxs {
|
||||||
rwctx.Push(tssBlock)
|
rwctx.Push(tssBlock)
|
||||||
}
|
}
|
||||||
rctx.reset()
|
if rctx != nil {
|
||||||
|
rctx.reset()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if rctx != nil {
|
if rctx != nil {
|
||||||
putRelabelCtx(rctx)
|
putRelabelCtx(rctx)
|
||||||
|
|
Loading…
Reference in a new issue