Skip to content

Commit

Permalink
Observe update_status event
Browse files Browse the repository at this point in the history
  • Loading branch information
dariofaccin committed Feb 23, 2024
1 parent dd5871f commit 1a6814e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def __init__(self, *args):
self._nrf_requires = NRFRequires(charm=self, relation_name=NRF_RELATION_NAME)
self.unit.set_ports(PCF_SBI_PORT)
self._certificates = TLSCertificatesRequiresV3(self, "certificates")
self.framework.observe(self.on.update_status, self._configure_sdcore_pcf)
self.framework.observe(self.on.database_relation_joined, self._configure_sdcore_pcf)
self.framework.observe(self.on.database_relation_broken, self._on_database_relation_broken)
self.framework.observe(self._database.on.database_created, self._configure_sdcore_pcf)
Expand Down

0 comments on commit 1a6814e

Please sign in to comment.