mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-22 12:20:04 +00:00
fix: fix aliyun nlb endpoint
This commit is contained in:
parent
506ab4f18e
commit
da4715e6dc
@ -89,8 +89,6 @@ func (d *AliyunNLBDeployer) createSdkClient(accessKeyId, accessKeySecret, region
|
|||||||
|
|
||||||
var endpoint string
|
var endpoint string
|
||||||
switch region {
|
switch region {
|
||||||
case "cn-hangzhou-finance":
|
|
||||||
endpoint = "nlb.cn-hangzhou.aliyuncs.com"
|
|
||||||
default:
|
default:
|
||||||
endpoint = fmt.Sprintf("nlb.%s.aliyuncs.com", region)
|
endpoint = fmt.Sprintf("nlb.%s.aliyuncs.com", region)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user