From 37eaa3682ae3c1f71e79d882ebdbc4121d135f35 Mon Sep 17 00:00:00 2001 From: Vitor Gomes Date: Fri, 6 Oct 2023 17:53:36 +0200 Subject: [PATCH] s3: fix OpenOptions being ignored in uploadMultipart with chunkWriter --- backend/s3/s3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {