mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
ConfigMapList.Items should not be omitempty
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user