summaryrefslogtreecommitdiff
path: root/vendor/github.com/minio/minio-go/v7/api-put-object.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2024-07-08 07:59:07 +0000
committerLibravatar GitHub <noreply@github.com>2024-07-08 07:59:07 +0000
commit43c480aec45e14f8a616db881e01fb009850bbc9 (patch)
tree24bb28334f55f05781d966cd1fbfa5bea8b029b0 /vendor/github.com/minio/minio-go/v7/api-put-object.go
parent[chore]: Bump golang.org/x/net from 0.26.0 to 0.27.0 (#3082) (diff)
downloadgotosocial-43c480aec45e14f8a616db881e01fb009850bbc9.tar.xz
[chore]: Bump github.com/minio/minio-go/v7 from 7.0.72 to 7.0.73 (#3083)
Diffstat (limited to 'vendor/github.com/minio/minio-go/v7/api-put-object.go')
-rw-r--r--vendor/github.com/minio/minio-go/v7/api-put-object.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/github.com/minio/minio-go/v7/api-put-object.go b/vendor/github.com/minio/minio-go/v7/api-put-object.go
index a96de9b9f..6ccb58156 100644
--- a/vendor/github.com/minio/minio-go/v7/api-put-object.go
+++ b/vendor/github.com/minio/minio-go/v7/api-put-object.go
@@ -464,7 +464,9 @@ func (c *Client) putObjectMultipartStreamNoLength(ctx context.Context, bucketNam
// Sort all completed parts.
sort.Sort(completedParts(complMultipartUpload.Parts))
- opts = PutObjectOptions{}
+ opts = PutObjectOptions{
+ ServerSideEncryption: opts.ServerSideEncryption,
+ }
if len(crcBytes) > 0 {
// Add hash of hashes.
crc.Reset()