Skip to content

Conversation

@notandy
Copy link
Contributor

@notandy notandy commented Nov 5, 2025

before, traits wouldn't be updated if the condition has been the same
(due to the "changed" check of setStatusCondition)
also reworkes the getTraitCondition to make the code better readable

before, traits wouldn't be updated if the condition has been the same
(due to the "changed" check of setStatusCondition)
also reworkes the getTraitCondition to make the code better readable
@github-actions
Copy link

github-actions bot commented Nov 5, 2025

Merging this branch will decrease overall coverage

Impacted Packages Coverage Δ 🤖
github.com/cobaltcore-dev/openstack-hypervisor-operator/internal/controller 36.40% (-0.11%) 👎

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/cobaltcore-dev/openstack-hypervisor-operator/internal/controller/traits_controller.go 56.60% (-3.40%) 53 (+3) 30 23 (+3) 👎

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.

@notandy notandy merged commit 4448ced into main Nov 5, 2025
7 checks passed
@notandy notandy deleted the fix-traits-update branch November 5, 2025 14:43
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.

4 participants