Skip to content

Commit 09be597

Browse files
committed
make state.OperatingVersion optional
1 parent fca7783 commit 09be597

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

api/v1alpha1/hypervisor_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ type HypervisorStatus struct {
108108
LibVirtVersion string `json:"libVirtVersion"`
109109

110110
// Represents the Operating System status.
111-
OperatingSystem OperatingSystemStatus `json:"operatingSystem"`
111+
OperatingSystem OperatingSystemStatus `json:"operatingSystem,omitempty"`
112112

113113
// Represents the Hypervisor update status.
114114
Update HyperVisorUpdateStatus `json:"updateStatus"`

charts/kvm-node-agent/crds/hypervisor-crd.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ spec:
239239
- libVirtVersion
240240
- node
241241
- numInstances
242-
- operatingSystem
243242
- updateStatus
244243
type: object
245244
type: object

config/crd/bases/kvm.cloud.sap_hypervisors.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ spec:
240240
- libVirtVersion
241241
- node
242242
- numInstances
243-
- operatingSystem
244243
- updateStatus
245244
type: object
246245
type: object

0 commit comments

Comments
 (0)