mirror of
https://github.com/certd/certd.git
synced 2026-05-18 06:17:31 +08:00
fix: 修复阿里云clb api接口没有使用region的问题
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user