Skip to content
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

Improve 'action-managed-upgrade' config handling #264

Conversation

rgildein
Copy link
Contributor

Merge logic of _get_disable_action_managed_step and _get_enable_action_managed_step to single function and fix not calling it if config option does not exist.

Previous we return the step to change 'action-managed-upgrade' even if option does not exist and we want
to enable it.

Merge logic of `_get_disable_action_managed_step` and
`_get_enable_action_managed_step` to single fucntion and fix
not calling it if config option does not exist.
@rgildein rgildein added the bug Something isn't working label Feb 28, 2024
@rgildein rgildein self-assigned this Feb 28, 2024
@rgildein rgildein requested review from a team, Pjack, aieri, agileshaw and jneo8 February 28, 2024 10:27
Copy link
Member

@gabrielcocenza gabrielcocenza left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@agileshaw agileshaw left a comment

Choose a reason for hiding this comment

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

LGTM

@rgildein rgildein merged commit 3ffb798 into canonical:dev/data-plane Feb 29, 2024
4 checks passed
@rgildein rgildein deleted the bug/BSENG-2087/fix-setting-action-managed-step branch February 29, 2024 12:53
rgildein added a commit to rgildein/charmed-openstack-upgrader that referenced this pull request Mar 19, 2024
These changes are result of [1] and [2].

---
[1]: canonical#231
[2]: canonical#264
rgildein added a commit that referenced this pull request Mar 20, 2024
These changes are result of [1] and [2].

---
[1]: #231
[2]: #264
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants