mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
modernizes for loop in cmd/, internal/ (#21309)
This commit is contained in:
@@ -357,7 +357,7 @@ func (list *TargetList) startSendWorkers(workerCount int) {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
for i := 0; i < workerCount; i++ {
|
||||
for range workerCount {
|
||||
wk.Take()
|
||||
go func() {
|
||||
defer wk.Give()
|
||||
|
||||
Reference in New Issue
Block a user