fix: make s3_region configurable to support values other than "garage"

This commit is contained in:
2024-10-13 23:39:22 +00:00
parent c1619276c0
commit 37027396ca
3 changed files with 15 additions and 3 deletions
+1 -1
View File
@@ -300,7 +300,7 @@ func getS3Client(bucket string) (*s3.Client, error) {
awsConfig := aws.Config{
Credentials: creds,
Region: "garage",
Region: utils.Garage.GetS3Region(),
BaseEndpoint: aws.String(utils.Garage.GetS3Endpoint()),
}