Skip to content

Commit

Permalink
Revert "don't check workload allowed to start"
Browse files Browse the repository at this point in the history
This reverts commit 9d9216b.
  • Loading branch information
carlcsaposs-canonical committed Oct 22, 2024
1 parent 9d9216b commit 328f126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/abstract_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def reconcile(self, event=None) -> None: # noqa: C901
shell=workload_.shell,
)
# todo: consider moving `self.refresh.workload_allowed_to_start` inside `workload._reconcile()`
if workload_.container_ready:
if workload_.container_ready and self.refresh.workload_allowed_to_start:
workload_.reconcile(
event=event,
tls=self._tls_certificate_saved,
Expand Down

0 comments on commit 328f126

Please sign in to comment.