From 3a620897908321b547d29f19b99cedfc5a692c1b Mon Sep 17 00:00:00 2001 From: Daniel Smith Date: Tue, 7 Oct 2014 13:52:51 -0700 Subject: [PATCH] Fix malformed namespace json tag --- pkg/api/types.go | 2 +- pkg/api/v1beta1/types.go | 2 +- pkg/api/v1beta2/types.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/api/types.go b/pkg/api/types.go index c1fe4eec4b0..a4491e3fb9b 100644 --- a/pkg/api/types.go +++ b/pkg/api/types.go @@ -252,7 +252,7 @@ type TypeMeta struct { SelfLink string `json:"selfLink,omitempty" yaml:"selfLink,omitempty"` ResourceVersion uint64 `json:"resourceVersion,omitempty" yaml:"resourceVersion,omitempty"` APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"` - Namespace string `json:"namespace",omitempty" yaml:"namespace,omitempty"` + Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` UID string `json:"uid,omitempty" yaml:"uid,omitempty"` // Annotations are unstructured key value data stored with a resource that may be set by diff --git a/pkg/api/v1beta1/types.go b/pkg/api/v1beta1/types.go index 6548303103e..b0180d3ddb5 100644 --- a/pkg/api/v1beta1/types.go +++ b/pkg/api/v1beta1/types.go @@ -262,7 +262,7 @@ type TypeMeta struct { SelfLink string `json:"selfLink,omitempty" yaml:"selfLink,omitempty"` ResourceVersion uint64 `json:"resourceVersion,omitempty" yaml:"resourceVersion,omitempty"` APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"` - Namespace string `json:"namespace",omitempty" yaml:"namespace,omitempty"` + Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` // Annotations are unstructured key value data stored with a resource that may be set by // external tooling. They are not queryable and should be preserved when modifying diff --git a/pkg/api/v1beta2/types.go b/pkg/api/v1beta2/types.go index 1bb3e8e737d..0d45d527943 100644 --- a/pkg/api/v1beta2/types.go +++ b/pkg/api/v1beta2/types.go @@ -260,7 +260,7 @@ type TypeMeta struct { SelfLink string `json:"selfLink,omitempty" yaml:"selfLink,omitempty"` ResourceVersion uint64 `json:"resourceVersion,omitempty" yaml:"resourceVersion,omitempty"` APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"` - Namespace string `json:"namespace",omitempty" yaml:"namespace,omitempty"` + Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` // Annotations are unstructured key value data stored with a resource that may be set by // external tooling. They are not queryable and should be preserved when modifying