Skip to content

Commit

Permalink
[zed] Ensure get_requests_for_local_unit doesn't fail on incomplete r…
Browse files Browse the repository at this point in the history
…elation

This is a rebuild/make sync for charms to pickup the fix in charmhelpers to fix
any inadvertant accesses of ['ca'] in the relation data before it is available
from vault in the certificates relation.  Fix in charmhelpers is in [1].

[1] juju/charm-helpers#826
Closes-Bug: #2028683

Change-Id: Iada0935d58769db112f99ffcb94c1584f88104b1
  • Loading branch information
ajkavanagh authored and freyes committed Sep 7, 2023
1 parent ee06ecc commit 8f9177b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ parts:
charm:
source: src/
plugin: reactive
reactive-charm-build-arguments:
- --use-lock-file-branches
- --verbose
build-snaps:
- charm/3.x/stable
build-environment:
Expand Down
2 changes: 1 addition & 1 deletion osci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
needs_charm_build: true
charm_build_name: gnocchi
build_type: charmcraft
charmcraft_channel: 2.0/stable
charmcraft_channel: 2.1/stable

- job:
name: test-s3-jammy-yoga-s3
Expand Down
2 changes: 1 addition & 1 deletion rebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# when dependencies of the charm change,
# but nothing in the charm needs to.
# simply change the uuid to something new
53bf780c-1178-11ec-bc16-bb24856e98b0
71154f46-3dd4-11ee-9a6c-73d025149a31
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ commands = stestr run --slowest {posargs}
[testenv:pep8]
basepython = python3
deps = flake8==3.9.2
PyYAML==6.0.1
git+https://github.com/juju/charm-tools.git
commands = flake8 {posargs} src unit_tests

Expand Down

0 comments on commit 8f9177b

Please sign in to comment.