.utils.aws.get_location() expects a dict

… as it's `provider` argument.
This commit is contained in:
Timur 2017-08-29 14:05:38 +03:00 committed by rallytime
parent ec1bedc646
commit 047ad07da4

View file

@ -392,7 +392,7 @@ def query(params=None, setname=None, requesturl=None, location=None,
service_url = prov_dict.get('service_url', 'amazonaws.com')
if not location:
location = get_location(opts, provider)
location = get_location(opts, prov_dict)
if endpoint is None:
if not requesturl: