mirror of https://github.com/k3s-io/k3s
Status should be a ListMeta, not ObjectMeta internally
parent
eb906f2993
commit
d6d87e1e3b
|
@ -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"`
|
||||
|
|
Loading…
Reference in New Issue