From f2bf0f03037ecd4c81580a75d127e458e6408452 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gy=C3=B6rgy=20Krajcsovits?= Date: Sun, 8 Jan 2023 16:48:27 +0100 Subject: [PATCH] Fix gofumpt linter error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: György Krajcsovits --- tsdb/compact.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tsdb/compact.go b/tsdb/compact.go index 2104d5de5..dd59ff435 100644 --- a/tsdb/compact.go +++ b/tsdb/compact.go @@ -1056,9 +1056,7 @@ func (c *LeveledCompactor) populateBlock(blocks []BlockReader, minT, maxT int64, defer blockWriters[ix].closeAsync() // Make sure to close writer to stop goroutine. } - var ( - chksIter chunks.Iterator - ) + var chksIter chunks.Iterator set := sets[0] if len(sets) > 1 {