Fix glance_client module

Wrong variable name.
This commit is contained in:
Yair Fried 2016-01-25 14:49:37 +02:00
parent 76925ef613
commit 2692e494e5

View file

@ -247,9 +247,9 @@ def main():
mutually_exclusive = [['file','copy_from']],
)
if not HAVE_GLANCECLIENT:
if not HAS_GLANCECLIENT:
module.fail_json(msg='python-glanceclient is required for this module')
if not HAVE_KEYSTONECLIENT:
if not HAS_KEYSTONECLIENT:
module.fail_json(msg='python-keystoneclient is required for this module')
if module.params['state'] == 'present':