Remove use of legacy pods proxy path

This commit is contained in:
feihujiang
2015-11-09 15:23:48 +08:00
parent c095e35f1b
commit ceeac16dc4
5 changed files with 10 additions and 9 deletions

View File

@@ -133,9 +133,9 @@ func assertFilesExist(fileNames []string, fileDir string, pod *api.Pod, client *
failed = []string{}
for _, fileName := range fileNames {
if _, err := client.Get().
Prefix("proxy").
Resource("pods").
Namespace(pod.Namespace).
Resource("pods").
SubResource("proxy").
Name(pod.Name).
Suffix(fileDir, fileName).
Do().Raw(); err != nil {