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

[JUJU-3998] Pass through local_refresh if refreshing with local charm & resources #894

Merged
merged 3 commits into from
Jul 6, 2023

Conversation

cderici
Copy link
Contributor

@cderici cderici commented Jul 5, 2023

Description

This patches a bug that 5d843ec introduced, where if --path is given (i.e., refreshing with a local charm), it errors with NYI if --resources is given (instead of falling through the local_refresh).

Should fix #881

QA Steps

Adds an integration test, so the following should pass:

tox -e integration -- tests/integration/test_application.py::test_upgrade_local_charm_with_resource

This patches a bug that
juju@5d843ec
introduced, where if --path is given (refreshing with a local charm),
it errors with NYI if --resources is given (instead of falling through
the local_refresh).

Should fix juju#881
Copy link

@beliaev-maksim beliaev-maksim left a comment

Choose a reason for hiding this comment

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

can some unittests be added to the PR?
we would like to ensure stability of the feature

@cderici
Copy link
Contributor Author

cderici commented Jul 6, 2023

/merge

@jujubot jujubot merged commit 9da79d9 into juju:2.9 Jul 6, 2023
9 checks passed
jujubot added a commit that referenced this pull request Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hint/2.9 going on 2.9 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants