diff --git a/pkg/s3/client.go b/pkg/s3/client.go index 7a1b1ec..55a477e 100644 --- a/pkg/s3/client.go +++ b/pkg/s3/client.go @@ -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 {