Skip to content

Commit

Permalink
add region config
Browse files Browse the repository at this point in the history
  • Loading branch information
nickpetrovic committed Dec 23, 2024
1 parent 420431d commit 9e31f87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/abstractions/volume/multipart.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (s *GlobalVolumeService) getS3Client() *s3.Client {
),
BaseEndpoint: aws.String(s.config.EndpointURL),
UsePathStyle: true,
Region: "-",
Region: s.config.Region,
})
}

Expand Down
1 change: 1 addition & 0 deletions pkg/types/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ type FileServiceConfig struct {
BucketName string `key:"bucketName" json:"bucket_name"`
AccessKey string `key:"accessKey" json:"access_key"`
SecretKey string `key:"secretKey" json:"secret_key"`
Region string `key:"region" json:"region"`
}

type ImageServiceConfig struct {
Expand Down

0 comments on commit 9e31f87

Please sign in to comment.