cert_handler lib assumes peer relation named peers
exists for upgrade_charm event handler
#93
Labels
peers
exists for upgrade_charm event handler
#93
Bug Description
The
cert_handler.py
charm lib assumes here that a peer relation namedpeers
exists in the charm that uses it. This assumption is not correct in database charms (as it is nameddatabase-peers
in the mysql charms). This leads to an error in Juju 2.9.X where thepeers
relation is not found in theupgrade_charm
event handlerTo Reproduce
Environment
ubuntu: 22.04.4
juju: 2.9.46
lxd: 5.21.1-2d13beb
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: