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

NS1 geo records will always use 'answers'

This commit is contained in:
Ross McFarland
2020-01-06 10:18:56 -08:00
parent f91cac3ef4
commit 95f5111487

View File

@@ -256,8 +256,6 @@ class Ns1Provider(BaseProvider):
'type': _type,
}
values, codes = [], []
if 'answers' not in record:
values = record['short_answers']
for answer in record.get('answers', []):
meta = answer.get('meta', {})
if meta: