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 ( var (
lastBucket int lastBucket int
i int i int
insertIdx int = inserts[i].bucketIdx insertIdx = inserts[i].bucketIdx
insertNum int = inserts[i].num insertNum = inserts[i].num
) )
addBucket := func(b int) { addBucket := func(b int) {