From 7d525a76704968a3cdf6f1f76a33bd3beb8ee321 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Sun, 9 Dec 2018 20:46:07 -0500 Subject: [PATCH] Fix geoip resolution for AWS-based pulls Typo resulted in an error being raised: https://sentry.io/coreos/backend-staging/issues/801171785/?referrer=slack --- util/ipresolver/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/ipresolver/__init__.py b/util/ipresolver/__init__.py index fedcff5fa..33e26e24e 100644 --- a/util/ipresolver/__init__.py +++ b/util/ipresolver/__init__.py @@ -197,7 +197,7 @@ class IPResolver(IPResolverInterface): break return ResolvedLocation('aws', region, None, sync_token, - geoinfo.country.country_iso_code if geoinfo else None) + geoinfo.country.iso_code if geoinfo else None) return _get_location @staticmethod