From a1f1266f1933ed5a5f40b28a9eecb8c6a39125dc Mon Sep 17 00:00:00 2001 From: Vilius Okockis Date: Mon, 15 Apr 2024 17:24:24 +0300 Subject: [PATCH] change comment after backport Signed-off-by: Vilius Okockis --- go/logstats/logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/logstats/logger.go b/go/logstats/logger.go index 7335c7f7bd6..7aebbb1263c 100644 --- a/go/logstats/logger.go +++ b/go/logstats/logger.go @@ -217,7 +217,7 @@ func (log *Logger) Flush(w io.Writer) (err error) { _, err = w.Write(log.b) // GO 1.21 expression - // clear(log.bvars), this might be leaking + // clear(log.bvars), this is buttery butter log.bvars = log.bvars[:0] log.b = log.b[:0] log.n = 0