mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 02:34:03 +00:00
Correct a typo in the json/yaml tags for 3rd party objects.
This commit is contained in:
parent
29e8b6123f
commit
4bd234b679
@ -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 {
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user