Travis 11

This commit is contained in:
Gerardo 2020-04-22 08:55:52 +02:00 committed by GitHub
parent 3eaf4c5f26
commit f9131b703d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,10 +106,8 @@ _initAuth() {
dns_aruba_add() { dns_aruba_add() {
fulldomain=$1 fulldomain=$1
txtvalue=$2 txtvalue=$2
#_debug _domain "$_domain" #_debug _domain "$_domain"
#_sub_domain="_acme-challenge" #_sub_domain="_acme-challenge"
if ! _initAuth; then if ! _initAuth; then
return 1 return 1
fi fi
@ -119,7 +117,6 @@ dns_aruba_add() {
_err "invalid domain" _err "invalid domain"
return 1 return 1
fi fi
_info "Get domain details" _info "Get domain details"
if ! _aruba_rest GET "api/domains/dns/$_domain/details" || _contains "$response" "error" || _contains "$response" "denied"; then if ! _aruba_rest GET "api/domains/dns/$_domain/details" || _contains "$response" "error" || _contains "$response" "denied"; then