From 78871ca508d66456b84dc6b22a1f781edb88491a Mon Sep 17 00:00:00 2001 From: Piotr Szczesniak Date: Thu, 26 Mar 2015 20:11:48 +0100 Subject: [PATCH] changed json names --- pkg/api/types.go | 2 +- pkg/api/v1beta3/types.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/api/types.go b/pkg/api/types.go index 1a7de77ebc..67bb1ad758 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 48df83bec4..614b83b341 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