From a5b60f5f5f71e37b0c6443364f25defc7bb1e602 Mon Sep 17 00:00:00 2001 From: The Magician Date: Tue, 25 Jun 2019 13:42:05 -0700 Subject: [PATCH] kubectl format() fix (#289) Signed-off-by: Modular Magician --- plugins/modules/gcp_container_cluster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/gcp_container_cluster.py b/plugins/modules/gcp_container_cluster.py index 593a905..5d600c8 100644 --- a/plugins/modules/gcp_container_cluster.py +++ b/plugins/modules/gcp_container_cluster.py @@ -1291,7 +1291,7 @@ class Kubectl(object): def _contents(self): token = self._auth_token() - endpoint = "https://{}".format(self.fetch["endpoint"]) + endpoint = "https://%s" % self.fetch["endpoint"] context = self.module.params.get('kubectl_context') if not context: context = self.module.params['name']