1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00
This commit is contained in:
Basir Jamil
2019-06-06 19:16:37 -04:00
parent ec5e7a173e
commit c7b39053fe

View File

@@ -43,8 +43,6 @@ class AkamaiClient(object):
return result.json()
# def _get(self, method, path, params=None, data=None):
# url = '{}{}{}'.format(self.)
class AkamaiProvider(BaseProvider):
@@ -90,10 +88,8 @@ class AkamaiProvider(BaseProvider):
def populate(self, zone, target=False, lenient=False):
self.log.debug('populate: name=%s, target=%s, lenient=%s', zone.name, target, lenient)
print ("populate()", zone.name)
zone_name = zone.name[:len(zone.name)-1]
result = self._dns_client.getZone(zone_name)
@@ -101,7 +97,6 @@ class AkamaiProvider(BaseProvider):
print (json.dumps(result, indent=4, separators=(',', ': ')))
print ("\n\n")
return