dnsapi/pdns: also normalize json response in detecting root zone
This commit is contained in:
parent
e7fc697e57
commit
8636d3139e
@ -175,7 +175,7 @@ _get_root() {
|
||||
i=1
|
||||
|
||||
if _pdns_rest "GET" "/api/v1/servers/$PDNS_ServerId/zones"; then
|
||||
_zones_response="$response"
|
||||
_zones_response=$(echo "$response" | _normalizeJson)
|
||||
fi
|
||||
|
||||
while true; do
|
||||
|
Loading…
Reference in New Issue
Block a user