mirror of
https://github.com/rclone/rclone.git
synced 2025-08-10 06:07:46 +02:00
box: pass options to rest.Opts for uploadPart
This commit is contained in:
committed by
Nick Craig-Wood
parent
0b0163dde2
commit
01cb256b84
@ -1254,7 +1254,7 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, op
|
||||
if size <= int64(o.fs.opt.UploadCutoff) {
|
||||
err = o.upload(ctx, in, leaf, directoryID, modTime, options...)
|
||||
} else {
|
||||
err = o.uploadMultipart(ctx, in, leaf, directoryID, size, modTime)
|
||||
err = o.uploadMultipart(ctx, in, leaf, directoryID, size, modTime, options...)
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user