Skip to content

Commit

Permalink
Correct use of property (canonical#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
sed-i authored Feb 8, 2024
1 parent e397743 commit 36cf836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 36cf836

Please sign in to comment.