mirror of
https://github.com/minio/minio.git
synced 2025-07-16 04:11:51 -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,
|
Creds: creds,
|
||||||
Secure: u.Scheme == "https",
|
Secure: u.Scheme == "https",
|
||||||
Transport: globalRemoteTargetTransport,
|
Transport: globalRemoteTargetTransport,
|
||||||
|
Region: conf.Region,
|
||||||
}
|
}
|
||||||
client, err := minio.New(u.Host, opts)
|
client, err := minio.New(u.Host, opts)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user