fix: use readSizeV1 wherever applicable. (#2093)

This commit is contained in:
Bala FA authored and Harshavardhana committed 2016-07-04 19:21:15 -07:00
1 parent 4cfbdb1bf0
commit 0540863663
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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 {