mirror of
https://github.com/minio/minio.git
synced 2025-07-15 20:01:53 -04:00
use provided region in tier configuration for S3 backend (#21365)
fixes #21364
This commit is contained in:
parent
e2245a0b12
commit
417c8648f0
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user