fix: use readSizeV1 wherever applicable. (#2093)

This commit is contained in:
Bala FA
2016-07-05 07:51:15 +05:30
committed by Harshavardhana
parent 4cfbdb1bf0
commit 0540863663
3 changed files with 3 additions and 3 deletions
+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 {