Fix incorrect reference of __utils__ in salt.utils

Closes #37388
This commit is contained in:
Mike Place 2016-11-03 16:16:28 +13:00 committed by rallytime
parent 7b1d3b5562
commit 6fe3ef49de

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