diff options
author | Yair Fried <yfried+github@redhat.com> | 2016-01-25 14:49:37 +0200 |
---|---|---|
committer | Yair Fried <yfried+github@redhat.com> | 2016-01-25 14:49:37 +0200 |
commit | 2692e494e5a0c36e747c7e622f4a827d5adb75a4 (patch) | |
tree | 909ace3a0ca4beaa2c85f4705998805a50424289 | |
parent | 76925ef61331d2f1adc1668deb23dafe09212729 (diff) | |
download | ansible-modules-core-2692e494e5a0c36e747c7e622f4a827d5adb75a4.tar.gz |
Fix glance_client module
Wrong variable name.
-rw-r--r-- | cloud/openstack/_glance_image.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cloud/openstack/_glance_image.py b/cloud/openstack/_glance_image.py index 0f2de791..bdcef267 100644 --- a/cloud/openstack/_glance_image.py +++ b/cloud/openstack/_glance_image.py @@ -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': |