box: pass options to rest.Opts for uploadPart

This commit is contained in:
Tim Gallant 2020-03-21 14:49:12 -07:00 committed by Nick Craig-Wood
parent 0b0163dde2
commit 01cb256b84
2 changed files with 5 additions and 4 deletions

View file

@ -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
}