Commit b6feefbd authored by markturansky's avatar markturansky

fixed empty PV/C lists by removing omitempty

parent cbce3a1a
......@@ -11879,6 +11879,9 @@
"v1.PersistentVolumeClaimList": {
"id": "v1.PersistentVolumeClaimList",
"description": "PersistentVolumeClaimList is a list of PersistentVolumeClaim items.",
"required": [
"items"
],
"properties": {
"kind": {
"type": "string",
......@@ -11990,6 +11993,9 @@
"v1.PersistentVolumeList": {
"id": "v1.PersistentVolumeList",
"description": "PersistentVolumeList is a list of PersistentVolume items.",
"required": [
"items"
],
"properties": {
"kind": {
"type": "string",
......
......@@ -326,7 +326,7 @@ type PersistentVolumeStatus struct {
type PersistentVolumeList struct {
TypeMeta `json:",inline"`
ListMeta `json:"metadata,omitempty"`
Items []PersistentVolume `json:"items,omitempty"`
Items []PersistentVolume `json:"items"`
}
// PersistentVolumeClaim is a user's request for and claim to a persistent volume
......@@ -344,7 +344,7 @@ type PersistentVolumeClaim struct {
type PersistentVolumeClaimList struct {
TypeMeta `json:",inline"`
ListMeta `json:"metadata,omitempty"`
Items []PersistentVolumeClaim `json:"items,omitempty"`
Items []PersistentVolumeClaim `json:"items"`
}
// PersistentVolumeClaimSpec describes the common attributes of storage devices
......
......@@ -419,7 +419,7 @@ type PersistentVolumeList struct {
ListMeta `json:"metadata,omitempty"`
// List of persistent volumes.
// More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md
Items []PersistentVolume `json:"items,omitempty"`
Items []PersistentVolume `json:"items"`
}
// PersistentVolumeClaim is a user's request for and claim to a persistent volume
......@@ -447,7 +447,7 @@ type PersistentVolumeClaimList struct {
ListMeta `json:"metadata,omitempty"`
// A list of persistent volume claims.
// More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistentvolumeclaims
Items []PersistentVolumeClaim `json:"items,omitempty"`
Items []PersistentVolumeClaim `json:"items"`
}
// PersistentVolumeClaimSpec describes the common attributes of storage devices
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment