added missing msg=

fixes #2498
This commit is contained in:
Brian Coca 2016-06-30 09:52:18 -04:00
parent 93540b7269
commit d42e51a884

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