[JUJU-3517] Revisit _build_facades in connection #826
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The main change here is that we no longer raise an exception in the case of an unknown facade.
Related LP bug : https://bugs.launchpad.net/charmed-kubernetes-testing/+bug/2012078
QA Steps
All CI tests need to pass.
Additionally, you may comment out a facade inside the
client_facades
inclient/connection.py
and run:Notes & Discussion
So this is not exactly the solution for the LP bug above, because we're not hitting the
raise
there as I initially thought we were. I've yet to figure out what the problem in the LP bug is because I can't reproduce it (seems to be working w/ juju3.1.1
as I commented on the LP bug too)