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: I4178dc384ef49457fd82649e4ae99850531eb1f2
  • Loading branch information
ajkavanagh authored and freyes committed Sep 7, 2023
1 parent 797f326 commit 1cf5ed1
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 @@ -6,4 +6,4 @@
needs_charm_build: true
charm_build_name: nova-cell-controller
build_type: charmcraft
charmcraft_channel: 2.0/stable
charmcraft_channel: 2.1/stable
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
53e34944-1178-11ec-9edc-c38acc23d967
7122132a-3dd4-11ee-b1fd-e3b5125dc9a2
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 1cf5ed1

Please sign in to comment.