Correct a typo in the json/yaml tags for 3rd party objects.

This commit is contained in:
Brendan Burns 2015-12-09 16:35:04 -08:00
parent 29e8b6123f
commit 4bd234b679
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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.