mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 22:16:15 +03:00
run gofumpt cleanup across code-base (#14015)
This commit is contained in:
@@ -64,7 +64,6 @@ func (r *MonitoredReader) Read(buf []byte) (n int, err error) {
|
||||
need = 1 // to ensure we read at least one byte for every Read
|
||||
tokens = b
|
||||
}
|
||||
|
||||
} else { // all tokens go towards payload
|
||||
need = int(math.Min(float64(b), float64(need)))
|
||||
tokens = need
|
||||
|
||||
Reference in New Issue
Block a user