Skip to content

fix(model): fix wrong instanciation of list-secrets facade#1065

Merged
jujubot merged 4 commits intojuju:mainfrom
gboutry:fix/list-secrets
Jul 11, 2024
Merged

fix(model): fix wrong instanciation of list-secrets facade#1065
jujubot merged 4 commits intojuju:mainfrom
gboutry:fix/list-secrets

Conversation

@gboutry
Copy link
Copy Markdown
Contributor

@gboutry gboutry commented Jun 27, 2024

Description

ListSecrets facade takes 2 arguments: filter_, and show_secrets. Previous instanciation passed a dict, which then landed in filter_ field.

Fixes: #947

QA Steps

<Commands / tests / steps to run to verify that the change works:>

await f.ListSecrets(filter_={"uri": <secret_id>}, show_secrets=True)

All CI tests need to pass.

<Please note that most likely an additional test will be required by the reviewers for any change that's not a one liner to land.>

Notes & Discussion

<Additional notes for the reviewers if needed. Please delete section if not applicable.>

ListSecrets facade takes 2 arguments: `filter_`, and `show_secrets`.
Previous instanciation passed a dict, which then landed in `filter_`
field.

Fix juju#947
@jujubot
Copy link
Copy Markdown
Contributor

jujubot commented Jun 27, 2024

Thanks for opening a pull request! Please follow the instructions here to ensure your pull request is ready for review. Then, a maintainer will review your patch.

@hpidcock @anvial

1 similar comment
@jujubot
Copy link
Copy Markdown
Contributor

jujubot commented Jun 27, 2024

Thanks for opening a pull request! Please follow the instructions here to ensure your pull request is ready for review. Then, a maintainer will review your patch.

@hpidcock @anvial

@cderici cderici self-requested a review June 27, 2024 15:45
@cderici
Copy link
Copy Markdown
Contributor

cderici commented Jul 11, 2024

/build

@cderici
Copy link
Copy Markdown
Contributor

cderici commented Jul 11, 2024

/merge

@jujubot jujubot merged commit 4032529 into juju:main Jul 11, 2024
jujubot added a commit that referenced this pull request Jul 11, 2024
#1071

## What's Changed
* fix parsing of storage constraints by @luissimas in #1053
* Add setuptools to tox.ini by @Aflynn50 in #1058
* fix(refresh): bug with revisions by @jack-w-shaw in #1067
* feat: conventional commits static analysis by @SimonRichardson in #1068
* fix(series): add noble support by @jack-w-shaw in #1063
* fix zones constrains list parsing by @luissimas in #1054
* fix(model): fix wrong instanciation of list-secrets facade by @gboutry in #1065
* fix(makefile): run .tox before lint in makefile target by @cderici in #1069
@gboutry gboutry deleted the fix/list-secrets branch August 5, 2024 09:36
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.

Unable to retrieve secret value

3 participants