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

@@ -227,8 +227,8 @@ func testVolumeClient(client *client.Client, config VolumeTestConfig, volume api
By("reading a web page from the client")
body, err := client.Get().
Namespace(config.namespace).
Prefix("proxy").
Resource("pods").
SubResource("proxy").
Name(clientPod.Name).
DoRaw()
expectNoError(err, "Cannot read web page: %v", err)