mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 08:17:26 +00:00
ConfigMapList.Items should not be omitempty
This commit is contained in:
parent
f8d4f6157f
commit
155c1a4465
@ -2407,7 +2407,7 @@ type ConfigMapList struct {
|
||||
unversioned.ListMeta `json:"metadata,omitempty"`
|
||||
|
||||
// Items is the list of ConfigMaps.
|
||||
Items []ConfigMap `json:"items,omitempty"`
|
||||
Items []ConfigMap `json:"items"`
|
||||
}
|
||||
|
||||
// These constants are for remote command execution and port forwarding and are
|
||||
|
@ -2856,7 +2856,7 @@ type ConfigMapList struct {
|
||||
unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||
|
||||
// Items is the list of ConfigMaps.
|
||||
Items []ConfigMap `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
|
||||
Items []ConfigMap `json:"items" protobuf:"bytes,2,rep,name=items"`
|
||||
}
|
||||
|
||||
// Type and constants for component health validation.
|
||||
|
Loading…
Reference in New Issue
Block a user