Skip to content

Commit

Permalink
ensure dashboards is updated on config changed (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
IbraAoad committed Jun 10, 2024
1 parent c9eca75 commit 994a926
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/charms/grafana_k8s/v0/grafana_dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -1050,6 +1050,7 @@ def __init__(

self.framework.observe(self._charm.on.leader_elected, self._update_all_dashboards_from_dir)
self.framework.observe(self._charm.on.upgrade_charm, self._update_all_dashboards_from_dir)
self.framework.observe(self._charm.on.config_changed, self._update_all_dashboards_from_dir)

self.framework.observe(
self._charm.on[self._relation_name].relation_created,
Expand Down

0 comments on commit 994a926

Please sign in to comment.