Fix lint error

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
This commit is contained in:
György Krajcsovits 2024-08-06 13:24:46 +02:00
parent 1b6d1366d8
commit d2f6fa7289

View file

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