From 83146535d02bb7aa6d8073b894c084c8a163c430 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Thu, 12 Sep 2024 21:06:25 +0300 Subject: [PATCH] pilorama: satisfy `intrange` linter Signed-off-by: Pavel Karpy --- pkg/local_object_storage/pilorama/boltdb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/local_object_storage/pilorama/boltdb.go b/pkg/local_object_storage/pilorama/boltdb.go index 70390b70fe..32047ba1c4 100644 --- a/pkg/local_object_storage/pilorama/boltdb.go +++ b/pkg/local_object_storage/pilorama/boltdb.go @@ -433,7 +433,7 @@ func (t *boltForest) applyOperation(logBucket, treeBucket *bbolt.Bucket, ms []*M key, value = c.Prev() } - for i := range len(ms) { + for i := range ms { // Loop invariant: key represents the next stored timestamp after ms[i].Time. // 2. Insert the operation.