summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/cloud/amazon/ec2_vpc_route_table.py
diff options
context:
space:
mode:
authorKamil CholewiƄski <harry666t@gmail.com>2017-03-07 13:51:38 +0100
committerBrian Coca <bcoca@users.noreply.github.com>2017-03-07 10:17:14 -0500
commitec9582fd837da500baeec8fd24d6e9eeeabbb733 (patch)
tree34b9be2e3a4aa01d222ac53d826c523e489e6490 /lib/ansible/modules/cloud/amazon/ec2_vpc_route_table.py
parent91860b2423964abf5eda4b9815da72056c02e3f5 (diff)
downloadansible-ec9582fd837da500baeec8fd24d6e9eeeabbb733.tar.gz
Fix invocations of module.fail_json with no msg=
Bonus: add missing % in cs_nic.py
Diffstat (limited to 'lib/ansible/modules/cloud/amazon/ec2_vpc_route_table.py')
-rw-r--r--lib/ansible/modules/cloud/amazon/ec2_vpc_route_table.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/modules/cloud/amazon/ec2_vpc_route_table.py b/lib/ansible/modules/cloud/amazon/ec2_vpc_route_table.py
index 57d7893520..f74cd8393c 100644
--- a/lib/ansible/modules/cloud/amazon/ec2_vpc_route_table.py
+++ b/lib/ansible/modules/cloud/amazon/ec2_vpc_route_table.py
@@ -651,7 +651,7 @@ def main():
state = module.params.get('state', 'present')
if lookup == 'id' and route_table_id is None:
- module.fail_json("You must specify route_table_id if lookup is set to id")
+ module.fail_json(msg="You must specify route_table_id if lookup is set to id")
try:
if state == 'present':