AbsPath should be compatible with proxy-prefixes:

- replace Config.Prefix with .Host and .APIPath
- Request .path promoted to .pathPrefix, .baseURL holds required prefix
This commit is contained in:
James DeFelice
2016-01-06 23:59:54 +00:00
parent 9724447456
commit 75f487f7bf
17 changed files with 158 additions and 119 deletions

View File

@@ -203,7 +203,6 @@ var _ = Describe("Kubectl client", func() {
Failf("Unable to parse URL %s. Error=%s", apiServer, err)
}
apiServerUrl.Scheme = "https"
apiServerUrl.Path = "/api"
if !strings.Contains(apiServer, ":443") {
apiServerUrl.Host = apiServerUrl.Host + ":443"
}