update #153
This commit is contained in:
parent
aa6c32026f
commit
da92725f10
@ -86,7 +86,7 @@ func (h *Handler) Metrics(ctx context.Context, req *codecpb.Frame, rsp *codecpb.
|
|||||||
gz := gzipPool.Get().(*gzip.Writer)
|
gz := gzipPool.Get().(*gzip.Writer)
|
||||||
defer gzipPool.Put(gz)
|
defer gzipPool.Put(gz)
|
||||||
|
|
||||||
gz.Reset(buf)
|
gz.Reset(w)
|
||||||
defer gz.Close()
|
defer gz.Close()
|
||||||
|
|
||||||
w = gz
|
w = gz
|
||||||
|
Loading…
Reference in New Issue
Block a user