mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-09 12:20:27 -07:00
kubectl format() fix (#289)
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
915c643afb
commit
a5b60f5f5f
1 changed files with 1 additions and 1 deletions
|
@ -1291,7 +1291,7 @@ class Kubectl(object):
|
||||||
|
|
||||||
def _contents(self):
|
def _contents(self):
|
||||||
token = self._auth_token()
|
token = self._auth_token()
|
||||||
endpoint = "https://{}".format(self.fetch["endpoint"])
|
endpoint = "https://%s" % self.fetch["endpoint"]
|
||||||
context = self.module.params.get('kubectl_context')
|
context = self.module.params.get('kubectl_context')
|
||||||
if not context:
|
if not context:
|
||||||
context = self.module.params['name']
|
context = self.module.params['name']
|
||||||
|
|
Loading…
Add table
Reference in a new issue