Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions internal/controller/hypervisor_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@
hypervisor.Status.OperatingSystem.PrettyVersion = strings.Split(line, "=")[1]
case "GARDENLINUX_VERSION":
hypervisor.Status.OperatingSystem.Version = strings.Split(line, "=")[1]
case "GARDENLINUX_COMMIT_ID_LONG":
hypervisor.Status.OperatingSystem.CommitID = strings.Split(line, "=")[1]

Check failure on line 126 in internal/controller/hypervisor_controller.go

View workflow job for this annotation

GitHub Actions / Checks

hypervisor.Status.OperatingSystem.CommitID undefined (type "github.com/cobaltcore-dev/openstack-hypervisor-operator/api/v1".OperatingSystemStatus has no field or method CommitID) (typecheck)

Check failure on line 126 in internal/controller/hypervisor_controller.go

View workflow job for this annotation

GitHub Actions / Build

hypervisor.Status.OperatingSystem.CommitID undefined (type "github.com/cobaltcore-dev/openstack-hypervisor-operator/api/v1".OperatingSystemStatus has no field or method CommitID)

Check failure on line 126 in internal/controller/hypervisor_controller.go

View workflow job for this annotation

GitHub Actions / CodeQL

hypervisor.Status.OperatingSystem.CommitID undefined (type "github.com/cobaltcore-dev/openstack-hypervisor-operator/api/v1".OperatingSystemStatus has no field or method CommitID)
}
}
hypervisor.Status.OperatingSystem.KernelVersion = r.osDescriptor.KernelVersion
Expand Down
Loading