mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
fix broken test by updating the actual format of the answers
This commit is contained in:
@@ -165,7 +165,7 @@ class Ns1Provider(BaseProvider):
|
||||
|
||||
def _params_for_A(self, record):
|
||||
params = {'answers': record.values, 'ttl': record.ttl}
|
||||
if record.geo:
|
||||
if hasattr(record, 'geo'):
|
||||
# purposefully set non-geo answers to have an empty meta,
|
||||
# so that we know we did this on purpose if/when troubleshooting
|
||||
params['answers'] = [{"answer": x, "meta": {}}
|
||||
|
Reference in New Issue
Block a user