mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
modernizes for loop in cmd/, internal/ (#21309)
This commit is contained in:
@@ -574,7 +574,7 @@ func (m *muxClient) ack(seq uint32) {
|
||||
return
|
||||
}
|
||||
available := cap(m.outBlock)
|
||||
for i := 0; i < available; i++ {
|
||||
for range available {
|
||||
m.outBlock <- struct{}{}
|
||||
}
|
||||
m.acked = true
|
||||
|
||||
Reference in New Issue
Block a user