Browse Source
Merge pull request #2853 from scottw/master
show response when unable to retrieve DNS records for a zone
pull/2854/head
neil
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
dnsapi/dns_cf.sh
|
@ -111,7 +111,7 @@ dns_cf_rm() { |
|
|
_cf_rest GET "zones/${_domain_id}/dns_records?type=TXT&name=$fulldomain&content=$txtvalue" |
|
|
_cf_rest GET "zones/${_domain_id}/dns_records?type=TXT&name=$fulldomain&content=$txtvalue" |
|
|
|
|
|
|
|
|
if ! printf "%s" "$response" | grep \"success\":true >/dev/null; then |
|
|
if ! printf "%s" "$response" | grep \"success\":true >/dev/null; then |
|
|
_err "Error" |
|
|
|
|
|
|
|
|
_err "Error: $response" |
|
|
return 1 |
|
|
return 1 |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|