From 623971437a5473d4f22aa79ab794cba5111caa5c Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 6 Nov 2017 16:15:28 +0100 Subject: [PATCH] Bugfixing --- bin/get-pdns-info | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}" } -- 2.39.5