Commit 78871ca5 authored by Piotr Szczesniak's avatar Piotr Szczesniak

changed json names

parent 31901ed9
...@@ -730,7 +730,7 @@ type PodStatus struct { ...@@ -730,7 +730,7 @@ type PodStatus struct {
// final and should not be relied upon. // final and should not be relied upon.
// TODO: Make real decisions about what our info should look like. Re-enable fuzz test // TODO: Make real decisions about what our info should look like. Re-enable fuzz test
// when we have done this. // 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 // PodStatusResult is a wrapper for PodStatus returned by kubelet that can be encode/decoded
......
...@@ -731,7 +731,7 @@ type PodStatus struct { ...@@ -731,7 +731,7 @@ type PodStatus struct {
// upon. // upon.
// TODO: Make real decisions about what our info should look like. Re-enable fuzz test // TODO: Make real decisions about what our info should look like. Re-enable fuzz test
// when we have done this. // 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 // PodStatusResult is a wrapper for PodStatus returned by kubelet that can be encode/decoded
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment