Browse Source

Change _saveaccountconf to _saveaccountconf_mutable

pull/5328/head
sahsanu 4 weeks ago
committed by GitHub
parent
commit
6a9304dd1c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 8
      dnsapi/dns_pdns.sh

8
dnsapi/dns_pdns.sh

@ -51,12 +51,12 @@ dns_pdns_add() {
fi
#save the api addr and key to the account conf file.
_saveaccountconf PDNS_Url "$PDNS_Url"
_saveaccountconf PDNS_ServerId "$PDNS_ServerId"
_saveaccountconf PDNS_Token "$PDNS_Token"
_saveaccountconf_mutable PDNS_Url "$PDNS_Url"
_saveaccountconf_mutable PDNS_ServerId "$PDNS_ServerId"
_saveaccountconf_mutable PDNS_Token "$PDNS_Token"
if [ "$PDNS_Ttl" != "$DEFAULT_PDNS_TTL" ]; then
_saveaccountconf PDNS_Ttl "$PDNS_Ttl"
_saveaccountconf_mutable PDNS_Ttl "$PDNS_Ttl"
fi
_debug "Detect root zone"

Loading…
Cancel
Save