diff --git a/src/charm.py b/src/charm.py index 7c8332c0..d86e964d 100755 --- a/src/charm.py +++ b/src/charm.py @@ -283,7 +283,7 @@ def _on_check_config(self, event: ActionEvent) -> None: def _on_show_config_action(self, event: ActionEvent): """Hook for the show-config action.""" event.log(f"Fetching {self._config_path}") - if not self.alertmanager_workload.is_ready(): + if not self.alertmanager_workload.is_ready: event.fail("Container not ready") filepaths = self._render_manifest().manifest.keys()