Skip to content

Add hypervisorVersion to report running hypervisor version#54

Draft
anokfireball wants to merge 1 commit intomainfrom
feature/report-hypervisor-version
Draft

Add hypervisorVersion to report running hypervisor version#54
anokfireball wants to merge 1 commit intomainfrom
feature/report-hypervisor-version

Conversation

@anokfireball
Copy link
Contributor

Calls ConnectGetVersion() to get the hypervisor version (e.g., CH 50.0.0) and reports it in status.HypervisorVersion, separate from libVirtVersion.

This complements PR #53 which fixed libVirtVersion to report the actual libvirt library version using ConnectGetLibVersion().

Calls ConnectGetVersion() to get the hypervisor version (e.g., CH
50.0.0) and reports it in status.HypervisorVersion, separate from
libVirtVersion.

This complements PR #53 which fixed libVirtVersion to report the actual
libvirt library version using ConnectGetLibVersion().
require (
github.com/cert-manager/cert-manager v1.19.3
github.com/cobaltcore-dev/openstack-hypervisor-operator v0.0.0-20260107080351-e998a1af4394
github.com/cobaltcore-dev/openstack-hypervisor-operator v0.0.0-20260217100602-f1db04987ce7
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link

Merging this branch will decrease overall coverage

Impacted Packages Coverage Δ 🤖
github.com/cobaltcore-dev/kvm-node-agent/internal/libvirt 39.77% (-0.23%) 👎

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/cobaltcore-dev/kvm-node-agent/internal/libvirt/libvirt.go 70.24% (-1.26%) 205 (+5) 144 (+1) 61 (+4) 👎

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/cobaltcore-dev/kvm-node-agent/internal/libvirt/libvirt_test.go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant