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

Merge pull request #16 from github/dyn-td-province-fix

DynProvider Traffic Directors want lowercase province without country
This commit is contained in:
Ross McFarland
2017-04-13 13:27:38 -07:00
committed by GitHub

View File

@@ -531,8 +531,7 @@ class DynProvider(BaseProvider):
for _, geo in geos:
if geo.subdivision_code:
criteria = {
'country': geo.country_code,
'province': geo.subdivision_code
'province': geo.subdivision_code.lower()
}
elif geo.country_code:
criteria = {