From d6d87e1e3b2a225de256ab3fc03786059d375c13 Mon Sep 17 00:00:00 2001 From: Clayton Coleman Date: Fri, 12 Dec 2014 16:26:07 -0500 Subject: [PATCH] Status should be a ListMeta, not ObjectMeta internally --- pkg/api/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/api/types.go b/pkg/api/types.go index 6f35a88266..d5a358f95a 100644 --- a/pkg/api/types.go +++ b/pkg/api/types.go @@ -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"`