Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 949c39e + bc51a01 commit 879ab01Copy full SHA for 879ab01
config/kube_config.py
@@ -378,7 +378,7 @@ def _load_user_pass_token(self):
378
379
def _load_cluster_info(self):
380
if 'server' in self._cluster:
381
- self.host = self._cluster['server']
+ self.host = self._cluster['server'].rstrip('/')
382
if self.host.startswith("https"):
383
self.ssl_ca_cert = FileOrData(
384
self._cluster, 'certificate-authority',
0 commit comments