added missing msg=

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

@ -363,7 +363,7 @@ def main():
try: try:
url = target_endpoint + KIND_URL[kind] url = target_endpoint + KIND_URL[kind]
except KeyError: 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) url = url.replace("{namespace}", namespace)
else: else:
url = target_endpoint url = target_endpoint

Loading…
Cancel
Save