mirror of
https://github.com/minio/minio.git
synced 2026-02-04 18:00:15 -05:00
use provided region in tier configuration for S3 backend (#21365)
fixes #21364
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user