diff --git a/pkg/api/types.go b/pkg/api/types.go index 1a7de77ebc7..67bb1ad7580 100644 --- a/pkg/api/types.go +++ b/pkg/api/types.go @@ -730,7 +730,7 @@ type PodStatus struct { // final and should not be relied upon. // TODO: Make real decisions about what our info should look like. Re-enable fuzz test // when we have done this. - ContainerStatuses []ContainerStatus `json:"info,omitempty"` + ContainerStatuses []ContainerStatus `json:"containerStatuses,omitempty"` } // PodStatusResult is a wrapper for PodStatus returned by kubelet that can be encode/decoded diff --git a/pkg/api/v1beta3/types.go b/pkg/api/v1beta3/types.go index 48df83bec4d..614b83b3412 100644 --- a/pkg/api/v1beta3/types.go +++ b/pkg/api/v1beta3/types.go @@ -731,7 +731,7 @@ type PodStatus struct { // upon. // TODO: Make real decisions about what our info should look like. Re-enable fuzz test // when we have done this. - ContainerStatuses []ContainerStatus `json:"info,omitempty" description:"list of container statuses"` + ContainerStatuses []ContainerStatus `json:"containerStatuses,omitempty" description:"list of container statuses"` } // PodStatusResult is a wrapper for PodStatus returned by kubelet that can be encode/decoded