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.
1 parent 6f02e73 commit bc51a01Copy full SHA for bc51a01
config/kube_config.py
@@ -226,7 +226,7 @@ def _load_user_pass_token(self):
226
227
def _load_cluster_info(self):
228
if 'server' in self._cluster:
229
- self.host = self._cluster['server']
+ self.host = self._cluster['server'].rstrip('/')
230
if self.host.startswith("https"):
231
self.ssl_ca_cert = FileOrData(
232
self._cluster, 'certificate-authority',
0 commit comments