Skip to content

Commit

Permalink
Update src/charm.py
Browse files Browse the repository at this point in the history
Co-authored-by: Mia Altieri <[email protected]>
  • Loading branch information
dmitry-ratushnyy and MiaAltieri authored Sep 14, 2023
1 parent ea883c5 commit 45456f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,8 @@ def _on_secret_changed(self, event: SecretChangedEvent):
return
logging.debug("Secret %s for scope %s changed, refreshing", event.secret.id, scope)
self._update_juju_secrets_cache(scope)

# changed secrets means that the URIs used for PBM and mongodb_exporter are now out of date
self._connect_mongodb_exporter()
self._connect_pbm_agent()

Expand Down

0 comments on commit 45456f1

Please sign in to comment.