Fixup kubelet handlePodInfo to be namespace aware

This commit is contained in:
derekwaynecarr
2014-10-17 12:09:01 -04:00
parent b01126322b
commit d590af2ce5
3 changed files with 10 additions and 5 deletions

View File

@@ -263,7 +263,7 @@ func TestPodInfo(t *testing.T) {
}
return nil, fmt.Errorf("bad pod %s", name)
}
resp, err := http.Get(fw.testHTTPServer.URL + "/podInfo?podID=goodpod")
resp, err := http.Get(fw.testHTTPServer.URL + "/podInfo?podID=goodpod&podNamespace=default")
if err != nil {
t.Errorf("Got error GETing: %v", err)
}