summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--neutron_subnet2
1 files changed, 1 insertions, 1 deletions
diff --git a/neutron_subnet b/neutron_subnet
index 02e3da6..fa8ab63 100644
--- a/neutron_subnet
+++ b/neutron_subnet
@@ -190,7 +190,7 @@ def _get_net_id(neutron, module):
try:
networks = neutron.list_networks(**kwargs)
except Exception as e:
- module.fail_json("Error in listing Neutron networks: %s" % e.message)
+ module.fail_json(msg = "Error in listing Neutron networks: %s" % e.message)
if not networks['networks']:
return None
return networks['networks'][0]['id']