mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
sync
This commit is contained in:
2
octodns/provider/.vscode/settings.json
vendored
Normal file
2
octodns/provider/.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
||||||
@@ -40,8 +40,9 @@ class AkamaiClient(object):
|
|||||||
def getZone(self, name):
|
def getZone(self, name):
|
||||||
path = urljoin(self.base, name)
|
path = urljoin(self.base, name)
|
||||||
result = self._sess.get(path)
|
result = self._sess.get(path)
|
||||||
return result.json()
|
|
||||||
|
|
||||||
|
return result.json()
|
||||||
|
# return result
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -93,7 +94,12 @@ class AkamaiProvider(BaseProvider):
|
|||||||
result = self._dns_client.getZone(zone_name)
|
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 (json.dumps(result, indent=4, separators=(',', ': ')))
|
||||||
print ("\n\n")
|
print ("\n\n")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user