mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-21 19:59:57 +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
|
||||
switch region {
|
||||
case "cn-hangzhou-finance":
|
||||
endpoint = "nlb.cn-hangzhou.aliyuncs.com"
|
||||
default:
|
||||
endpoint = fmt.Sprintf("nlb.%s.aliyuncs.com", region)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user