Skip to content

Commit

Permalink
Fix bug im pultipart upload s3
Browse files Browse the repository at this point in the history
  • Loading branch information
idanovo committed Feb 25, 2024
1 parent df64464 commit 8b4c1b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/block/s3/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,7 @@ func (a *Adapter) CreateMultiPartUpload(ctx context.Context, obj block.ObjectPoi
Bucket: aws.String(bucket),
Key: aws.String(key),
ContentType: aws.String(""),
Expires: aws.Time(time.Now().Add(a.preSignedExpiry)),
}
if opts.StorageClass != nil {
input.StorageClass = types.StorageClass(*opts.StorageClass)
Expand Down

0 comments on commit 8b4c1b9

Please sign in to comment.