changed json names

pull/6/head
Piotr Szczesniak 2015-03-26 20:11:48 +01:00
parent 31901ed9d0
commit 78871ca508
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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