Skip to content

fix: Application.local_refresh method signature#1114

Merged
jujubot merged 1 commit intojuju:mainfrom
dimaqq:fix-local-refresh
Oct 9, 2024
Merged

fix: Application.local_refresh method signature#1114
jujubot merged 1 commit intojuju:mainfrom
dimaqq:fix-local-refresh

Conversation

@dimaqq
Copy link
Copy Markdown
Contributor

@dimaqq dimaqq commented Sep 27, 2024

Fixes #1100

Closes #881

Charmers already pass a Path to refresh() in integration tests.
This PR standardises that.

Making arguments to local_refresh() explicit, as charmer don't get the default values.

Existing integration test is updated.

Jira: https://warthogs.atlassian.net/browse/CHARMTECH-309

@dimaqq
Copy link
Copy Markdown
Contributor Author

dimaqq commented Sep 27, 2024

squashed and rebased to pass commit lint

Copy link
Copy Markdown
Contributor

@james-garner-canonical james-garner-canonical left a comment

Choose a reason for hiding this comment

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

Looks good, thanks. You might need to (re?)sign your commits to merge.

Copy link
Copy Markdown
Contributor

@Aflynn50 Aflynn50 left a comment

Choose a reason for hiding this comment

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

Looks good, could you include the integration test steps in the PR description? Either just which of the pylibjuju integration tests were run, or if local refresh is not used in there, just a code snippet that tests the functionality .

@dimaqq dimaqq marked this pull request as draft September 30, 2024 00:14
@dimaqq dimaqq force-pushed the fix-local-refresh branch from 7b1650e to 305b41a Compare October 8, 2024 05:40
@dimaqq dimaqq force-pushed the fix-local-refresh branch from 305b41a to be8b2cb Compare October 9, 2024 08:35
@dimaqq dimaqq marked this pull request as ready for review October 9, 2024 08:35
@dimaqq
Copy link
Copy Markdown
Contributor Author

dimaqq commented Oct 9, 2024

/merge

@jujubot jujubot merged commit 1f5d361 into juju:main Oct 9, 2024
@dimaqq dimaqq deleted the fix-local-refresh branch October 10, 2024 00:16
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.

Fix function signature for local_refresh [Bug]: Refreshing a charm with local resources doesn't work

5 participants