Browse Source

First jq rework - 12. redo

pull/3728/head
Bjarne Saltbaek 3 years ago
parent
commit
bfda8f0b8a
  1. 2
      dnsapi/dns_cpanel.sh

2
dnsapi/dns_cpanel.sh

@ -144,7 +144,7 @@ _findentry() {
_debug "In _findentry"
#returns id of dns entry, if it exists
_myget "json-api/cpanel?cpanel_jsonapi_apiversion=2&cpanel_jsonapi_module=ZoneEdit&cpanel_jsonapi_func=fetchzone_records&domain=$_domain"
_jqquery=".cpanelresult.data[] | select(.name == \"$fulldomain.\")| {Line} | .Line"
#_jqquery=".cpanelresult.data[] | select(.name == \"$fulldomain.\")| {Line} | .Line"
_id=""
_debug "_result is: $_result"
_debug "fulldomain. is $fulldomain."

Loading…
Cancel
Save