ConfigMapList.Items should not be omitempty

This commit is contained in:
derekwaynecarr 2016-04-20 22:04:20 -04:00
parent f8d4f6157f
commit 155c1a4465
2 changed files with 2 additions and 2 deletions

View File

@ -2407,7 +2407,7 @@ type ConfigMapList struct {
unversioned.ListMeta `json:"metadata,omitempty"` unversioned.ListMeta `json:"metadata,omitempty"`
// Items is the list of ConfigMaps. // 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 // These constants are for remote command execution and port forwarding and are

View File

@ -2856,7 +2856,7 @@ type ConfigMapList struct {
unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Items is the list of ConfigMaps. // 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. // Type and constants for component health validation.