From 36cf836a9479cdf8df2a0389c0a4c1a254ebb7cb Mon Sep 17 00:00:00 2001 From: Leon <82407168+sed-i@users.noreply.github.com> Date: Thu, 8 Feb 2024 11:53:20 -0500 Subject: [PATCH] Correct use of property (#217) --- src/charm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()