1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

thurs sync

This commit is contained in:
Basir Jamil
2019-06-13 20:05:33 -04:00
parent 9844f4293a
commit b8c94386a8

View File

@@ -166,8 +166,6 @@ class AkamaiClient(object):
recordset = self.zone_recordset_get(zone_name, showAll="true").json().get("recordsets")
# print (type(recordset))
print(recordset)
return recordset
def master_zone_file_get(self, zone):
@@ -228,7 +226,14 @@ class AkamaiProvider(BaseProvider):
values = defaultdict(lambda: defaultdict(list))
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)