mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Merge pull request #339 from thockin/valid8
Fix wrong json name for Key field
This commit is contained in:
commit
1796598302
@ -95,7 +95,7 @@ type EnvVar struct {
|
|||||||
// Exactly one of the following must be set. If both are set, prefer Name.
|
// Exactly one of the following must be set. If both are set, prefer Name.
|
||||||
// DEPRECATED: EnvVar.Key will be removed in a future version of the API.
|
// DEPRECATED: EnvVar.Key will be removed in a future version of the API.
|
||||||
Name string `yaml:"name" json:"name"`
|
Name string `yaml:"name" json:"name"`
|
||||||
Key string `yaml:"key,omitempty" json:"name,omitempty"`
|
Key string `yaml:"key,omitempty" json:"key,omitempty"`
|
||||||
// Optional: defaults to "".
|
// Optional: defaults to "".
|
||||||
Value string `yaml:"value,omitempty" json:"value,omitempty"`
|
Value string `yaml:"value,omitempty" json:"value,omitempty"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user