Browse Source

Additional shfmt issues

pull/6631/head
Bob Perper 2 weeks ago
parent
commit
88e9681481
  1. 4
      dnsapi/dns_qc.sh

4
dnsapi/dns_qc.sh

@ -110,10 +110,6 @@ dns_qc_rm() {
else else
record_id=$(echo "$response" | grep \"id\"| awk -F ' ' '{print $2}'| sed 's/,$//') record_id=$(echo "$response" | grep \"id\"| awk -F ' ' '{print $2}'| sed 's/,$//')
_debug "txt record_id" "$record_id" _debug "txt record_id" "$record_id"
if [ -z "$record_id" ]; then
#_info "Can not get txt record id to remove."
return 0
fi
if ! _qc_rest DELETE "zones/$_domain_id/records/$record_id"; then if ! _qc_rest DELETE "zones/$_domain_id/records/$record_id"; then
_info "Delete txt record error." _info "Delete txt record error."
return 1 return 1

Loading…
Cancel
Save