Browse Source

Additional shfmt issues

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

4
dnsapi/dns_qc.sh

@ -111,7 +111,7 @@ dns_qc_rm() {
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 if [ -z "$record_id" ]; then
_info "Can not get txt record id to remove."
#_info "Can not get txt record id to remove."
return 0 return 0
fi fi
if ! _qc_rest DELETE "zones/$_domain_id/records/$record_id"; then if ! _qc_rest DELETE "zones/$_domain_id/records/$record_id"; then
@ -120,7 +120,7 @@ dns_qc_rm() {
fi fi
_info "TXT Record ID: $record_id successfully deleted" _info "TXT Record ID: $record_id successfully deleted"
fi fi
return 0
} }
#################### Private functions below ################################## #################### Private functions below ##################################

Loading…
Cancel
Save