Skip to content

Conversation

@fwiesel
Copy link
Contributor

@fwiesel fwiesel commented Jan 28, 2026

The HypervisorMaintenanceController already disabled the compute-service, so drop doing that in the eviction controller. We just wait for the condition to be reached.

@fwiesel fwiesel requested a review from notandy January 28, 2026 08:55
@fwiesel fwiesel force-pushed the eviction-dont-disable branch from 568bf86 to bf3051e Compare January 28, 2026 09:12
The HypervisorMaintenanceController already disabled the
compute-service, so drop doing that in the eviction controller.
We just wait for the condition to be reached.
@github-actions
Copy link

Merging this branch will increase overall coverage

Impacted Packages Coverage Δ 🤖
github.com/cobaltcore-dev/openstack-hypervisor-operator/internal/controller 55.53% (+0.02%) 👍

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/cobaltcore-dev/openstack-hypervisor-operator/internal/controller/eviction_controller.go 30.56% (-7.17%) 144 (-76) 44 (-39) 100 (-37) 👎

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/openstack-hypervisor-operator/internal/controller/eviction_controller_test.go

@fwiesel fwiesel merged commit 52898d2 into main Jan 28, 2026
6 checks passed
@fwiesel fwiesel deleted the eviction-dont-disable branch January 28, 2026 09:17
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.

3 participants