[#1465] Makefile: Update golangci-lint, fix warnings

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-10-31 09:13:50 +03:00 committed by Evgenii Stratonikov
parent 2285cfc36f
commit c2effcc61c
4 changed files with 4 additions and 4 deletions

View file

@ -705,7 +705,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.