Merge pull request #3304 from quay/geoip-fix

Fix geoip resolution for AWS-based pulls
This commit is contained in:
Joseph Schorr 2018-12-09 20:47:37 -05:00 committed by GitHub
commit 8cd3740c69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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