Skip to content
This repository has been archived by the owner on Mar 13, 2022. It is now read-only.

Commit

Permalink
Merge pull request #45 from bran-wang/master
Browse files Browse the repository at this point in the history
Fix trailing slash on kube/config failure  #388
  • Loading branch information
k8s-ci-robot authored Nov 12, 2018
2 parents 949c39e + bc51a01 commit 879ab01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/kube_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def _load_user_pass_token(self):

def _load_cluster_info(self):
if 'server' in self._cluster:
self.host = self._cluster['server']
self.host = self._cluster['server'].rstrip('/')
if self.host.startswith("https"):
self.ssl_ca_cert = FileOrData(
self._cluster, 'certificate-authority',
Expand Down

0 comments on commit 879ab01

Please sign in to comment.