mirror of
https://github.com/minio/minio.git
synced 2025-11-08 21:24:55 -05:00
Run modernize (#21546)
`go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix -test ./...` executed. `go generate ./...` ran afterwards to keep generated.
This commit is contained in:
@@ -45,7 +45,7 @@ func TestNSLockRace(t *testing.T) {
|
||||
|
||||
ctx := t.Context()
|
||||
|
||||
for i := 0; i < 10000; i++ {
|
||||
for i := range 10000 {
|
||||
nsLk := newNSLock(false)
|
||||
|
||||
// lk1; ref=1
|
||||
|
||||
Reference in New Issue
Block a user