chore: 阿里云上传证书返回值优化为带region的

This commit is contained in:
xiaojunnuo
2026-01-31 19:36:37 +08:00
parent 1a0d3eeb1b
commit 1089aeab9e
10 changed files with 24 additions and 20 deletions
@@ -251,11 +251,11 @@ export class AliyunDeployCertToSLB extends AbstractTaskPlugin {
if (typeof this.cert === 'object') {
const name = this.appendTimeSuffix('certd');
const certIdRes = await sslClient.uploadCert({
const certIdRes = await sslClient.uploadCertificate({
name: name,
cert: this.cert,
});
certId = certIdRes.certId;
certId = certIdRes.certId as any;
}
return await sslClient.getCertInfo(certId);