mirror of
https://github.com/minio/minio.git
synced 2026-11-25 07:21:49 +00:00
fix: use readSizeV1 wherever applicable. (#2093)
This commit is contained in:
1 parent
4cfbdb1bf0
commit
0540863663
3 files changed
+3
-3
No files matched your search
@@ -323,7 +323,7 @@ func (fs fsObjects) PutObject(bucket string, object string, size int64, data io.
|
||||
}
|
||||
} else {
|
||||
// Allocate a buffer to Read() the object upload stream.
|
||||
buf := make([]byte, 32*1024)
|
||||
buf := make([]byte, readSizeV1)
|
||||
// Read the buffer till io.EOF and append the read data to
|
||||
// the temporary file.
|
||||
for {
|
||||
|
||||
Reference in new issue
Block a user