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.