Make sure to also include the region when using keyring_auth

This commit is contained in:
Matt Martz 2014-01-24 11:41:45 -06:00
parent 021b926235
commit aa709012ba

View file

@ -59,7 +59,7 @@ def setup_rax_module(module, rax_module):
try:
if api_key and username:
if api_key == 'USE_KEYRING':
rax_module.keyring_auth(username)
rax_module.keyring_auth(username, region=region)
else:
rax_module.set_credentials(username, api_key=api_key,
region=region)