Fix gofumpt linter error

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
This commit is contained in:
György Krajcsovits 2023-01-08 16:48:27 +01:00
parent a9ed61e91f
commit f2bf0f0303

View file

@ -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 {