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

Fix serialization of multiple answers, that had caused a ResourceException

This commit is contained in:
Steve Coursen
2018-01-08 20:13:20 -05:00
parent b06c14deae
commit 154ca64038

View File

@@ -215,9 +215,10 @@ class Ns1Provider(BaseProvider):
if not has_country and \
len(value.split('-')) > 1: # pragma: nocover
has_country = True
for answer in target.values:
params['answers'].append(
{
'answer': target.values,
'answer': [answer],
'meta': {key: [value]},
},
)