s3: Fix --s3-chunk-size which was always using the minimum - fixes #2345
This commit is contained in:
parent
4e8e5fed7d
commit
017297af70
1 changed files with 0 additions and 1 deletions
|
@ -1356,7 +1356,6 @@ func (o *Object) Update(in io.Reader, src fs.ObjectInfo, options ...fs.OpenOptio
|
||||||
u.LeavePartsOnError = false
|
u.LeavePartsOnError = false
|
||||||
u.S3 = o.fs.c
|
u.S3 = o.fs.c
|
||||||
u.PartSize = int64(s3ChunkSize)
|
u.PartSize = int64(s3ChunkSize)
|
||||||
u.PartSize = s3manager.MinUploadPartSize
|
|
||||||
|
|
||||||
if size == -1 {
|
if size == -1 {
|
||||||
// Make parts as small as possible while still being able to upload to the
|
// Make parts as small as possible while still being able to upload to the
|
||||||
|
|
Loading…
Reference in a new issue