Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

s3: fix OpenOptions being ignored in uploadMultipart with chunkWriter

Vitor Gomes37eaa3682ae3
diff --git a/backend/s3/s3.go b/backend/s3/s3.go
index 36eea6393..fcc9cb145 100644
--- a/backend/s3/s3.go
+++ b/backend/s3/s3.go
@@ -6070,7 +6070,7 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, op
var err error
var ui uploadInfo
if multipart {
- wantETag, gotETag, versionID, ui, err = o.uploadMultipart(ctx, src, in)
+ wantETag, gotETag, versionID, ui, err = o.uploadMultipart(ctx, src, in, options...)
} else {
ui, err = o.prepareUpload(ctx, src, options)
if err != nil {