mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
Fix wrong json name for Key field
This commit is contained in:
parent
53a51185c6
commit
48074d4ae7
@ -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