From: Frank Brehm Date: Mon, 6 Nov 2017 15:15:28 +0000 (+0100) Subject: Bugfixing X-Git-Tag: 0.1.2~121 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=623971437a5473d4f22aa79ab794cba5111caa5c;p=pixelpark%2Fadmin-tools.git Bugfixing --- diff --git a/bin/get-pdns-info b/bin/get-pdns-info index 7dbf113..fef422d 100755 --- a/bin/get-pdns-info +++ b/bin/get-pdns-info @@ -238,8 +238,8 @@ show_zones() { local url="http://${PDNS_SERVER}:${API_PORT}/api/v1/servers/localhost/zones" debug "Calling URL '${url}' ..." - #curl -H "X-API-Key: changeme" "${url}" | jq . - curl -H "X-API-Key: changeme" "${url}" + curl -H "X-API-Key: ${API_KEY}" "${url}" | jq . + #curl -H "X-API-Key: ${API_KEY}" "${url}" }