Merge pull request #37441 from rallytime/bp-37428

Back-port #37428 to 2015.8
This commit is contained in:
Mike Place 2016-11-04 17:07:54 +13:00 committed by GitHub
commit 7fba8aaa7e

View file

@ -93,7 +93,7 @@ def query(key, keyid, method='GET', params=None, headers=None,
keyid = salt.utils.aws.IROLE_CODE
if not location:
location = __utils__['aws.get_location']()
location = salt.utils.aws.get_location()
data = ''
payload_hash = None