Skip to content

Commit

Permalink
Merge pull request #195 from nsone/master
Browse files Browse the repository at this point in the history
Properly set filter rules for geo answers
  • Loading branch information
ross committed Feb 15, 2018
2 parents 548e06a + eb97b43 commit fa047e0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions octodns/provider/ns1.py
Expand Up @@ -233,11 +233,10 @@ def _params_for_A(self, record):
},
)
params['filters'] = []
if len(params['answers']) > 1:
if has_country:
params['filters'].append(
{"filter": "shuffle", "config": {}}
)
if has_country:
params['filters'].append(
{"filter": "geotarget_country", "config": {}}
)
Expand Down

0 comments on commit fa047e0

Please sign in to comment.