Add missing msg keyword in fail_json (#25635)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2017-06-13 14:41:11 +05:30 committed by René Moser
parent f380fd84c5
commit b7558f5018
2 changed files with 2 additions and 2 deletions

View file

@ -238,7 +238,7 @@ class AnsibleCloudStack(object):
if self.network_acl:
return self._get_by_key(key, self.network_acl)
else:
self.fail_json("Network ACL %s not found" % self.module.params.get('network_acl'))
self.fail_json(msg="Network ACL %s not found" % self.module.params.get('network_acl'))
def get_vpc(self, key=None):
"""Return a VPC dictionary or the value of given key of."""