From 4bd234b67937b6852a87cdca4236831439b94bd3 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Wed, 9 Dec 2015 16:35:04 -0800 Subject: [PATCH] Correct a typo in the json/yaml tags for 3rd party objects. --- pkg/apis/extensions/types.go | 2 +- pkg/apis/extensions/v1beta1/types.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/apis/extensions/types.go b/pkg/apis/extensions/types.go index 147c47ffba0..2330ad43401 100644 --- a/pkg/apis/extensions/types.go +++ b/pkg/apis/extensions/types.go @@ -182,7 +182,7 @@ type ThirdPartyResourceData struct { api.ObjectMeta `json:"metadata,omitempty"` // Data is the raw JSON data for this data. - Data []byte `json:"name,omitempty"` + Data []byte `json:"data,omitempty"` } type Deployment struct { diff --git a/pkg/apis/extensions/v1beta1/types.go b/pkg/apis/extensions/v1beta1/types.go index d41c252679b..be868a3aca1 100644 --- a/pkg/apis/extensions/v1beta1/types.go +++ b/pkg/apis/extensions/v1beta1/types.go @@ -172,7 +172,7 @@ type ThirdPartyResourceData struct { v1.ObjectMeta `json:"metadata,omitempty"` // Data is the raw JSON data for this data. - Data []byte `json:"name,omitempty"` + Data []byte `json:"data,omitempty"` } // Deployment enables declarative updates for Pods and ReplicationControllers.