summaryrefslogtreecommitdiff
path: root/internal/log
diff options
context:
space:
mode:
authorJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2026-02-12 12:03:54 +0100
committerJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2026-02-12 12:03:54 +0100
commitb00ce8214479c50e137db73c77b0cc1393c5e7d4 (patch)
tree5b5421728e91645ce5e44980f13029ad590a53ad /internal/log
parentfd7abf186da1895e20dd2fdb2e8a1406e60081d7 (diff)
All: Run modernize --test --fix
Diffstat (limited to 'internal/log')
-rw-r--r--internal/log/rotate_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/log/rotate_test.go b/internal/log/rotate_test.go
index 5381a49..4fa77fd 100644
--- a/internal/log/rotate_test.go
+++ b/internal/log/rotate_test.go
@@ -69,7 +69,7 @@ func TestWriteTrim(t *testing.T) {
writeNCheckSize := func(n int, size int64) {
buf := make([]byte, n)
- for i := 0; i < n; i++ {
+ for i := range n {
buf[i] = 'x'
}
_, err := fr.Write(buf)