added missing msg=

fixes #2498
pull/18777/head
Brian Coca 9 years ago committed by Matt Clay
parent 0c8f95f59a
commit 04b4ca51c3

@ -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

Loading…
Cancel
Save