From 38d364103dc2a08cbb9a42e9ab6115b0702688bc Mon Sep 17 00:00:00 2001 From: lorijoan Date: Wed, 20 Jul 2016 12:57:35 +0100 Subject: [PATCH] Update cs_volume module to fix typo on force attribute (#2592) fixes #2590 --- cloud/cloudstack/cs_volume.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/cloudstack/cs_volume.py b/cloud/cloudstack/cs_volume.py index 9897b62c6df..c2a542741d6 100644 --- a/cloud/cloudstack/cs_volume.py +++ b/cloud/cloudstack/cs_volume.py @@ -387,7 +387,7 @@ class AnsibleCloudStackVolume(AnsibleCloudStack): volume = self.get_volume() if volume: - if 'attached' in volume and not self.module.param.get('force'): + if 'attached' in volume and not self.module.params.get('force'): self.module.fail_json(msg="Volume '%s' is attached, use force=true for detaching and removing the volume." % volume.get('name')) self.result['changed'] = True