Merge pull request #43268 from rallytime/bp-43237

Back-port #43237 to 2017.7
This commit is contained in:
Mike Place 2017-09-01 12:17:12 -06:00 committed by GitHub
commit 367668a0a3

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: