use provided region in tier configuration for S3 backend (#21365)

fixes #21364
This commit is contained in:
Sung Jeon
2025-06-09 01:13:30 +09:00
committed by GitHub
parent e2245a0b12
commit 417c8648f0

View File

@@ -163,6 +163,7 @@ func newWarmBackendS3(conf madmin.TierS3, tier string) (*warmBackendS3, error) {
Creds: creds,
Secure: u.Scheme == "https",
Transport: globalRemoteTargetTransport,
Region: conf.Region,
}
client, err := minio.New(u.Host, opts)
if err != nil {