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

@@ -796,9 +796,9 @@ func (r podResponseChecker) checkAllResponses() (done bool, err error) {
return false, fmt.Errorf("pod with UID %s is no longer a member of the replica set. Must have been restarted for some reason. Current replica set: %v", pod.UID, currentPods)
}
body, err := r.c.Get().
Prefix("proxy").
Namespace(r.ns).
Resource("pods").
SubResource("proxy").
Name(string(pod.Name)).
Do().
Raw()