Merge pull request #2871 from yfried-redhat/fix_glance_image
Fix glance_client module
This commit is contained in:
commit
7708017801
1 changed files with 2 additions and 2 deletions
|
@ -247,9 +247,9 @@ def main():
|
||||||
mutually_exclusive = [['file','copy_from']],
|
mutually_exclusive = [['file','copy_from']],
|
||||||
)
|
)
|
||||||
|
|
||||||
if not HAVE_GLANCECLIENT:
|
if not HAS_GLANCECLIENT:
|
||||||
module.fail_json(msg='python-glanceclient is required for this module')
|
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')
|
module.fail_json(msg='python-keystoneclient is required for this module')
|
||||||
|
|
||||||
if module.params['state'] == 'present':
|
if module.params['state'] == 'present':
|
||||||
|
|
Loading…
Reference in a new issue