diff --git a/tsdb/chunkenc/histogram_meta.go b/tsdb/chunkenc/histogram_meta.go index 98778e021..8d614b817 100644 --- a/tsdb/chunkenc/histogram_meta.go +++ b/tsdb/chunkenc/histogram_meta.go @@ -593,8 +593,8 @@ func adjustForInserts(spans []histogram.Span, inserts []Insert) (mergedSpans []h var ( lastBucket int i int - insertIdx int = inserts[i].bucketIdx - insertNum int = inserts[i].num + insertIdx = inserts[i].bucketIdx + insertNum = inserts[i].num ) addBucket := func(b int) {