Skip to content

Commit

Permalink
set a region field when using a custom endpoint (#788)
Browse files Browse the repository at this point in the history
  • Loading branch information
biglittlebigben authored Oct 4, 2024
1 parent 01f40a1 commit a6ee73e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pipeline/sink/uploader/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func newS3Uploader(conf *config.EgressS3Upload) (uploader, error) {
opts := func(o *awsConfig.LoadOptions) error {
if conf.Region != "" {
o.Region = conf.Region
} else if conf.Endpoint == "" {
} else {
o.Region = defaultBucketLocation
}

Expand Down

0 comments on commit a6ee73e

Please sign in to comment.