Fix invocations of module.fail_json with no msg=

Bonus: add missing % in cs_nic.py
This commit is contained in:
Kamil Cholewiński
2017-03-07 13:51:38 +01:00
committed by Brian Coca
parent 91860b2423
commit ec9582fd83
15 changed files with 25 additions and 25 deletions

View File

@@ -182,7 +182,7 @@ def _delete_router(module, neutron, router_id):
try:
neutron.delete_router(router_id)
except:
module.fail_json("Error in deleting the router")
module.fail_json(msg="Error in deleting the router")
return True
def main():