mirror of
https://github.com/pgsty/minio.git
synced 2026-09-16 23:44:06 +03:00
vendor: Update minio-go library with fixes for objectlisting.
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ func (c Client) PutObjectWithProgress(bucketName, objectName string, reader io.R
|
||||
}
|
||||
|
||||
// putSmall object.
|
||||
if size < minPartSize && size > 0 {
|
||||
if size < minPartSize && size >= 0 {
|
||||
return c.putObjectSingle(bucketName, objectName, reader, size, contentType, progress)
|
||||
}
|
||||
// For all sizes greater than 5MiB do multipart.
|
||||
|
||||
Reference in New Issue
Block a user