Skip to content

Commit

Permalink
fix add and rm method names
Browse files Browse the repository at this point in the history
  • Loading branch information
zak905 committed May 14, 2024
1 parent f440656 commit 2797d2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dnsapi/dns_ionos_cloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
IONOS_CLOUD_API="https://dns.de-fra.ionos.com"
IONOS_CLOUD_ROUTE_ZONES="/zones"

dns_ionos_add() {
dns_ionos_cloud_add() {
fulldomain=$1
txtvalue=$2

Expand All @@ -30,7 +30,7 @@ dns_ionos_add() {
return 1
}

dns_ionos_rm() {
dns_ionos_cloud_rm() {
fulldomain=$1
txtvalue=$2

Expand All @@ -57,7 +57,7 @@ _ionos_init() {
if [ -z "$IONOS_TOKEN" ]; then
_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 ""
_err "You need to set it before calling acme.sh:"
_err "\$ export IONOS_TOKEN=\"...\""
_err "\$ acme.sh --issue -d ... --dns dns_ionos_cloud"
return 1
Expand Down

0 comments on commit 2797d2c

Please sign in to comment.