Skip to content
This repository was archived by the owner on Mar 13, 2022. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bc51a01

Browse files
committedFeb 12, 2018
Fix trailing slash on kube/config failure #388
1 parent 6f02e73 commit bc51a01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎config/kube_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def _load_user_pass_token(self):
226226

227227
def _load_cluster_info(self):
228228
if 'server' in self._cluster:
229-
self.host = self._cluster['server']
229+
self.host = self._cluster['server'].rstrip('/')
230230
if self.host.startswith("https"):
231231
self.ssl_ca_cert = FileOrData(
232232
self._cluster, 'certificate-authority',

0 commit comments

Comments
 (0)
This repository has been archived.