From 04b4ca51c36ebfb6782d15b93d9671d1bc17648e Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 30 Jun 2016 09:52:18 -0400 Subject: [PATCH] added missing msg= fixes #2498 --- lib/ansible/modules/extras/clustering/kubernetes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/clustering/kubernetes.py b/lib/ansible/modules/extras/clustering/kubernetes.py index 7fc2ad92174..183fb0b837e 100644 --- a/lib/ansible/modules/extras/clustering/kubernetes.py +++ b/lib/ansible/modules/extras/clustering/kubernetes.py @@ -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