1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

added missing msg=

fixes #2498
This commit is contained in:
Brian Coca 2016-06-30 09:52:18 -04:00 committed by Matt Clay
parent 0c8f95f59a
commit 04b4ca51c3

View file

@ -363,7 +363,7 @@ def main():
try:
url = target_endpoint + KIND_URL[kind]
except KeyError:
module.fail_json("invalid resource kind specified in the data: '%s'" % kind)
module.fail_json(msg="invalid resource kind specified in the data: '%s'" % kind)
url = url.replace("{namespace}", namespace)
else:
url = target_endpoint