Status should be a ListMeta, not ObjectMeta internally

pull/6/head
Clayton Coleman 2014-12-12 16:26:07 -05:00
parent eb906f2993
commit d6d87e1e3b
1 changed files with 2 additions and 2 deletions

View File

@ -757,8 +757,8 @@ type Binding struct {
// TODO: this could go in apiserver, but I'm including it here so clients needn't
// import both.
type Status struct {
TypeMeta `json:",inline"`
ObjectMeta `json:"metadata,omitempty"`
TypeMeta `json:",inline"`
ListMeta `json:"metadata,omitempty"`
// One of: "Success", "Failure", "Working" (for operations not yet completed)
Status string `json:"status,omitempty"`