This commit is contained in:
xiaojunnuo
2024-09-29 14:57:20 +08:00
parent 7ee9d915fb
commit 51f29d6093
9 changed files with 45 additions and 12 deletions

View File

@@ -174,6 +174,9 @@ export class CertApplyPlugin extends CertApplyBasePlugin {
const dnsProviderPlugin = dnsProviderRegistry.get(dnsProviderType);
const DnsProviderClass = dnsProviderPlugin.target;
const dnsProviderDefine = dnsProviderPlugin.define as DnsProviderDefine;
if (dnsProviderDefine.deprecated) {
throw new Error(dnsProviderDefine.deprecated);
}
const access = await this.accessService.getById(dnsProviderAccessId);
// @ts-ignore