fix add and rm method names

pull/5110/head
zak905 2024-05-14 19:50:44 +02:00
parent f440656572
commit 2797d2c535
No known key found for this signature in database
GPG Key ID: A5683652694BD72B
1 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@
IONOS_CLOUD_API="https://dns.de-fra.ionos.com" IONOS_CLOUD_API="https://dns.de-fra.ionos.com"
IONOS_CLOUD_ROUTE_ZONES="/zones" IONOS_CLOUD_ROUTE_ZONES="/zones"
dns_ionos_add() { dns_ionos_cloud_add() {
fulldomain=$1 fulldomain=$1
txtvalue=$2 txtvalue=$2
@ -30,7 +30,7 @@ dns_ionos_add() {
return 1 return 1
} }
dns_ionos_rm() { dns_ionos_cloud_rm() {
fulldomain=$1 fulldomain=$1
txtvalue=$2 txtvalue=$2
@ -57,7 +57,7 @@ _ionos_init() {
if [ -z "$IONOS_TOKEN" ]; then if [ -z "$IONOS_TOKEN" ]; then
_err "You didn't specify an IONOS token yet." _err "You didn't specify an IONOS token yet."
_err "Read https://api.ionos.com/docs/authentication/v1/#tag/tokens/operation/tokensGenerate to learn how to get a token." _err "Read https://api.ionos.com/docs/authentication/v1/#tag/tokens/operation/tokensGenerate to learn how to get a token."
_err "" _err "You need to set it before calling acme.sh:"
_err "\$ export IONOS_TOKEN=\"...\"" _err "\$ export IONOS_TOKEN=\"...\""
_err "\$ acme.sh --issue -d ... --dns dns_ionos_cloud" _err "\$ acme.sh --issue -d ... --dns dns_ionos_cloud"
return 1 return 1