Skip to content

Commit

Permalink
Add region (fix #87)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalif committed Mar 13, 2024
1 parent 80c1171 commit 8ebd0f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/s3/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func NewClient(cfg *Config) (*s3Client, error) {
}
minioClient, err := minio.New(endpoint, &minio.Options{
Creds: credentials.NewStaticV4(client.Config.AccessKeyID, client.Config.SecretAccessKey, ""),
Region: client.Config.Region,
Secure: ssl,
})
if err != nil {
Expand Down

0 comments on commit 8ebd0f0

Please sign in to comment.