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

length of answers check is unnecessary

This commit is contained in:
Steve Coursen
2018-02-15 10:49:43 -05:00
parent 786a4fb06a
commit eb97b43d28

View File

@@ -234,10 +234,9 @@ class Ns1Provider(BaseProvider):
)
params['filters'] = []
if has_country:
if len(params['answers']) > 1:
params['filters'].append(
{"filter": "shuffle", "config": {}}
)
params['filters'].append(
{"filter": "shuffle", "config": {}}
)
params['filters'].append(
{"filter": "geotarget_country", "config": {}}
)