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:
@@ -173,7 +173,7 @@ func (r *PReader) startReaders() {
|
||||
}()
|
||||
|
||||
// Start parsers
|
||||
for i := 0; i < runtime.GOMAXPROCS(0); i++ {
|
||||
for range runtime.GOMAXPROCS(0) {
|
||||
go func() {
|
||||
for in := range r.input {
|
||||
if len(in.input) == 0 {
|
||||
|
||||
Reference in New Issue
Block a user