Browse Source

more debugging - add function argument printing

pull/5110/head
zak905 8 months ago
parent
commit
c64aae6f39
  1. 2
      dnsapi/dns_ionos.sh

2
dnsapi/dns_ionos.sh

@ -208,6 +208,8 @@ _ionos_cloud_get_record() {
fulldomain=$3 fulldomain=$3
_record_name=$(printf "%s" "$fulldomain" | cut -d . -f 1) _record_name=$(printf "%s" "$fulldomain" | cut -d . -f 1)
_info "grepping with the following args: zone_id=$zone_id txtrecord=$txtrecord fulldomain=$fulldomain _record_name=$_record_name"
if _ionos_cloud_rest GET "$IONOS_CLOUD_ROUTE_ZONES/$zone_id/records"; then if _ionos_cloud_rest GET "$IONOS_CLOUD_ROUTE_ZONES/$zone_id/records"; then
_response="$(echo "$_response" | tr -d "\n")" _response="$(echo "$_response" | tr -d "\n")"

Loading…
Cancel
Save