Skip to content

Commit

Permalink
[victoria] Ensure get_requests_for_local_unit doesn't fail on incompl…
Browse files Browse the repository at this point in the history
…ete relation

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#830
Closes-Bug: #2028683

Change-Id: I7083110054b0e15855b7ef6c4709cac332e6f199
  • Loading branch information
ajkavanagh authored and freyes committed Sep 11, 2023
1 parent a300350 commit 8a00c08
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
4 changes: 4 additions & 0 deletions bindep.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
libffi-dev [platform:dpkg]
libpq-dev [platform:dpkg]
libxml2-dev [platform:dpkg]
libxslt1-dev [platform:dpkg]
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
fa0813a8-b3eb-11eb-a7ee-87e5c342cd2d
daddc754-3d21-11ee-95a0-5f4677e38aa6
6 changes: 6 additions & 0 deletions src/build.lock
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,12 @@
"package": "pyaml",
"vcs": null,
"version": "21.10.1"
},
{
"type": "python_module",
"package": "Cython",
"vcs": null,
"version": "0.29.36"
}
]
}
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ commands = stestr run --slowest {posargs}
[testenv:pep8]
basepython = python3
deps = flake8==3.9.2
charm-tools==2.8.3
PyYAML==6.0.1
charm-tools==2.8.6
commands = flake8 {posargs} src unit_tests

[testenv:func-target]
Expand Down

0 comments on commit 8a00c08

Please sign in to comment.