mirror of https://github.com/certd/certd
fix: 修复阿里云clb api接口没有使用region的问题
parent
5f4a89cecc
commit
0770f174a1
|
@ -207,7 +207,7 @@ export class AliyunDeployCertToSLB extends AbstractTaskPlugin {
|
||||||
}
|
}
|
||||||
|
|
||||||
getCLBClientV2(access: AliyunAccess) {
|
getCLBClientV2(access: AliyunAccess) {
|
||||||
return access.getClient("slb.aliyuncs.com")
|
return access.getClient(`slb.${this.regionId}.aliyuncs.com`)
|
||||||
}
|
}
|
||||||
|
|
||||||
resolveListenerKey(listener: string) {
|
resolveListenerKey(listener: string) {
|
||||||
|
@ -383,7 +383,7 @@ export class AliyunDeployCertToSLB extends AbstractTaskPlugin {
|
||||||
access: AliyunAccess
|
access: AliyunAccess
|
||||||
}) {
|
}) {
|
||||||
const {loadBalancerId, listenerPort, listenerProtocol, access} = data;
|
const {loadBalancerId, listenerPort, listenerProtocol, access} = data;
|
||||||
const client = access.getClient("slb.aliyuncs.com")
|
const client = access.getClient(`slb.${this.regionId}.aliyuncs.com`)
|
||||||
|
|
||||||
let queries = {
|
let queries = {
|
||||||
RegionId: this.regionId,
|
RegionId: this.regionId,
|
||||||
|
|
Loading…
Reference in New Issue