mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -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:
@@ -375,7 +375,7 @@ func siteNetperf(ctx context.Context, duration time.Duration) madmin.SiteNetPerf
|
||||
}
|
||||
info := info
|
||||
wg.Add(connectionsPerPeer)
|
||||
for i := 0; i < connectionsPerPeer; i++ {
|
||||
for range connectionsPerPeer {
|
||||
go func() {
|
||||
defer wg.Done()
|
||||
ctx, cancel := context.WithTimeout(ctx, duration+10*time.Second)
|
||||
|
||||
Reference in New Issue
Block a user