Merge pull request #3403 from manuelm/dev

dnsapi/pdns: also normalize json response in detecting root zone
This commit is contained in:
neil authored and GitHub committed 2021-02-12 11:03:38 +08:00
commit 29a7c1938a
1 file changed
+1 -1
+1 -1
View File
@@ -175,7 +175,7 @@ _get_root() {
i=1 i=1
if _pdns_rest "GET" "/api/v1/servers/$PDNS_ServerId/zones"; then if _pdns_rest "GET" "/api/v1/servers/$PDNS_ServerId/zones"; then
_zones_response="$response" _zones_response=$(echo "$response" | _normalizeJson)
fi fi
while true; do while true; do