Skip to content

Commit

Permalink
Revert UsePathStyle setting
Browse files Browse the repository at this point in the history
  • Loading branch information
jescalada committed Aug 15, 2024
1 parent 2cd6723 commit 9248351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/common/services/artifact/storage/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func NewS3(ctx context.Context, config *config.Config) (*S3, error) {
var clientOptions []func(o *s3.Options)
if config.S3EndpointURI != "" {
clientOptions = append(clientOptions, func(o *s3.Options) {
o.UsePathStyle = false
o.UsePathStyle = true
})
clientOptions = append(clientOptions, func(o *s3.Options) {
o.BaseEndpoint = aws.String(config.S3EndpointURI)
Expand Down

0 comments on commit 9248351

Please sign in to comment.