Changed PodInfo to be a list
This change is to make API consistent with our convention. Fixes #3622
This commit is contained in:
@@ -166,8 +166,8 @@ func getPodName(name, namespace string) string {
|
||||
func TestPodStatus(t *testing.T) {
|
||||
fw := newServerTest()
|
||||
expected := api.PodStatus{
|
||||
Info: map[string]api.ContainerStatus{
|
||||
"goodpod": {},
|
||||
ContainerStatuses: []api.ContainerStatus{
|
||||
{Name: "goodpod"},
|
||||
},
|
||||
}
|
||||
fw.fakeKubelet.statusFunc = func(name string) (api.PodStatus, error) {
|
||||
|
Reference in New Issue
Block a user