diff --git a/octodns/provider/.vscode/settings.json b/octodns/provider/.vscode/settings.json new file mode 100644 index 0000000..7a73a41 --- /dev/null +++ b/octodns/provider/.vscode/settings.json @@ -0,0 +1,2 @@ +{ +} \ No newline at end of file diff --git a/octodns/provider/fastdns.py b/octodns/provider/fastdns.py index fc37834..1405d17 100644 --- a/octodns/provider/fastdns.py +++ b/octodns/provider/fastdns.py @@ -40,8 +40,9 @@ class AkamaiClient(object): def getZone(self, name): path = urljoin(self.base, name) result = self._sess.get(path) - return result.json() + return result.json() + # return result @@ -91,9 +92,14 @@ class AkamaiProvider(BaseProvider): zone_name = zone.name[:len(zone.name)-1] result = self._dns_client.getZone(zone_name) - - print ("\n\n") + + print() + print() + + print(type(result)) + #print(result.text) + print (json.dumps(result, indent=4, separators=(',', ': '))) print ("\n\n")