Skip to content

Change compute services UpdateOpts fields ForceDown to pointer #3472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 21, 2025

Conversation

fwiesel
Copy link
Contributor

@fwiesel fwiesel commented Jul 21, 2025

This follows the same pattern as in the rest of the code and uses a pointer to fix #3471 and allow the caller to unset a prior ForceDown.

This unfortunately changes though the API in a breaking way.

Fixes #3471

Links to the line numbers/files in the OpenStack source code that support the
code in this PR:

https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/services.py#L473-L479

@github-actions github-actions bot added edit:compute This PR updates compute code semver:major Breaking change labels Jul 21, 2025
kayrus
kayrus previously approved these changes Jul 21, 2025
@coveralls
Copy link

coveralls commented Jul 21, 2025

Coverage Status

coverage: 63.735%. remained the same
when pulling 4b7e159 on fwiesel:bug_3471
into 9c6475a on gophercloud:main.

This follows the same pattern as in the rest of the code
and uses a pointer to fix gophercloud#3471 and allow the caller to unset
a prior ForceDown.

This unfortunately changes though the API in a breaking way.
@kayrus
Copy link
Contributor

kayrus commented Jul 21, 2025

LGTM, thank you!

@kayrus kayrus merged commit 22f8d0b into gophercloud:main Jul 21, 2025
16 checks passed
@fwiesel fwiesel deleted the bug_3471 branch July 22, 2025 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
edit:compute This PR updates compute code semver:major Breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

compute/v2/service/Update doesnt allow to set forced_down to false due to "omitempty"
3 participants