mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 16:34:30 +01:00
s3: fix OpenOptions being ignored in uploadMultipart with chunkWriter
This commit is contained in:
parent
c5f6fc3283
commit
37eaa3682a
@ -6070,7 +6070,7 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, op
|
|||||||
var err error
|
var err error
|
||||||
var ui uploadInfo
|
var ui uploadInfo
|
||||||
if multipart {
|
if multipart {
|
||||||
wantETag, gotETag, versionID, ui, err = o.uploadMultipart(ctx, src, in)
|
wantETag, gotETag, versionID, ui, err = o.uploadMultipart(ctx, src, in, options...)
|
||||||
} else {
|
} else {
|
||||||
ui, err = o.prepareUpload(ctx, src, options)
|
ui, err = o.prepareUpload(ctx, src, options)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user