archivist: single-file E2E regression gate (Garage + image under test); superuser-only poll route; ARCHIVIST_S3_REGION

This commit is contained in:
2026-11-02 12:28:58 +01:00
parent 1cbe96b173
commit 233c153072
6 changed files with 823 additions and 3 deletions
+2 -1
View File
@@ -24,10 +24,11 @@ type Client struct {
StartupWarning string
}
func New(endpoint, accessKey, secretKey, bucket string, useSSL bool) (*Client, error) {
func New(endpoint, accessKey, secretKey, bucket, region string, useSSL bool) (*Client, error) {
mc, err := minio.New(endpoint, &minio.Options{
Creds: credentials.NewStaticV4(accessKey, secretKey, ""),
Secure: useSSL,
Region: region,
})
if err != nil {
return nil, err