Browse Source

fixed formating issues

pull/2489/head
Michael Braunoeder 6 years ago
parent
commit
c9e42c4d0f
  1. 8
      dnsapi/dns_rcode0.sh

8
dnsapi/dns_rcode0.sh

@ -21,7 +21,6 @@ dns_rcode0_add() {
fulldomain=$1
txtvalue=$2
RCODE0_API_TOKEN="${RCODE0_API_TOKEN:-$(_readaccountconf_mutable RCODE0_API_TOKEN)}"
RCODE0_URL="${RCODE0_URL:-$(_readaccountconf_mutable RCODE0_URL)}"
RCODE0_TTL="${RCODE0_TTL:-$(_readaccountconf_mutable RCODE0_TTL)}"
@ -30,7 +29,6 @@ dns_rcode0_add() {
RCODE0_URL="$DEFAULT_RCODE0_URL"
fi
if [ -z "$RCODE0_API_TOKEN" ]; then
RCODE0_API_TOKEN=""
_err "Missing Rcode0 ACME API Token."
@ -77,7 +75,6 @@ dns_rcode0_rm() {
RCODE0_URL="$DEFAULT_RCODE0_URL"
fi
if [ -z "$RCODE0_API_TOKEN" ]; then
RCODE0_API_TOKEN=""
_err "Missing Rcode0 API Token."
@ -198,11 +195,6 @@ _get_root() {
domain=$1
i=1
# if _rcode0_rest "GET" "/api/v1/acme/zones"; then
# _zones_response="$response"
# fi
#
# _debug2 "$response"
while true; do
h=$(printf "%s" "$domain" | cut -d . -f $i-100)

Loading…
Cancel
Save