]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
Fix invalid domain error on dns_cf update
authornetpok <netpok+github@gmail.com>
Sun, 29 Mar 2020 21:45:52 +0000 (23:45 +0200)
committerGitHub <noreply@github.com>
Sun, 29 Mar 2020 21:45:52 +0000 (23:45 +0200)
When dns_cf used with Zone ID it fails on removal of the entry.

This pull request adds the missing CF_Zone_ID loading.

dnsapi/dns_cf.sh

index 2927ab4bb0ed3ac5bdc213c3c45ab4a4dd56debb..040934e2a8916649e15ebed20cc1dc289ef1e5bf 100755 (executable)
@@ -94,6 +94,7 @@ dns_cf_rm() {
 
   CF_Token="${CF_Token:-$(_readaccountconf_mutable CF_Token)}"
   CF_Account_ID="${CF_Account_ID:-$(_readaccountconf_mutable CF_Account_ID)}"
+  CF_Zone_ID="${CF_Zone_ID:-$(_readaccountconf_mutable CF_Zone_ID)}"
   CF_Key="${CF_Key:-$(_readaccountconf_mutable CF_Key)}"
   CF_Email="${CF_Email:-$(_readaccountconf_mutable CF_Email)}"