kubectl format() fix (#289)

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2019-06-25 13:42:05 -07:00 committed by Alex Stephen
parent 915c643afb
commit a5b60f5f5f

View file

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