mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
thurs sync
This commit is contained in:
@@ -166,8 +166,6 @@ class AkamaiClient(object):
|
|||||||
|
|
||||||
recordset = self.zone_recordset_get(zone_name, showAll="true").json().get("recordsets")
|
recordset = self.zone_recordset_get(zone_name, showAll="true").json().get("recordsets")
|
||||||
|
|
||||||
# print (type(recordset))
|
|
||||||
print(recordset)
|
|
||||||
return recordset
|
return recordset
|
||||||
|
|
||||||
def master_zone_file_get(self, zone):
|
def master_zone_file_get(self, zone):
|
||||||
@@ -228,7 +226,14 @@ class AkamaiProvider(BaseProvider):
|
|||||||
values = defaultdict(lambda: defaultdict(list))
|
values = defaultdict(lambda: defaultdict(list))
|
||||||
|
|
||||||
for record in self.zone_records(zone):
|
for record in self.zone_records(zone):
|
||||||
pass
|
_type=record['type']
|
||||||
|
if _type not in self.SUPPORTS:
|
||||||
|
continue
|
||||||
|
elif _type == 'TXT' and record['content'].startswith('ALIAS for'):
|
||||||
|
# ALIAS has a "ride along" TXT record with 'ALIAS for XXXX',
|
||||||
|
# we're ignoring it
|
||||||
|
continue
|
||||||
|
values[record['name']][record['type']].append(record)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user