honor region specified for remote targets (#11480)

fixes #11472
master
Harshavardhana 4 years ago committed by GitHub
parent 6fef4c21b9
commit 2e4d9124ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      cmd/bucket-targets.go

@ -362,6 +362,7 @@ func (sys *BucketTargetSys) getRemoteTargetClient(tcfg *madmin.BucketTarget) (*T
api, err := minio.New(tcfg.Endpoint, &miniogo.Options{
Creds: creds,
Secure: tcfg.Secure,
Region: tcfg.Region,
Transport: getRemoteTargetInstanceTransport,
})
if err != nil {

Loading…
Cancel
Save