This commit is contained in:
Gorbunov Kirill Andreevich 2024-03-11 11:20:31 +03:00
parent aa6c32026f
commit da92725f10

View File

@ -86,7 +86,7 @@ func (h *Handler) Metrics(ctx context.Context, req *codecpb.Frame, rsp *codecpb.
gz := gzipPool.Get().(*gzip.Writer)
defer gzipPool.Put(gz)
gz.Reset(buf)
gz.Reset(w)
defer gz.Close()
w = gz