diff --git a/src/relations/async_replication.py b/src/relations/async_replication.py index 072a1e51df..006966ddc7 100644 --- a/src/relations/async_replication.py +++ b/src/relations/async_replication.py @@ -495,7 +495,7 @@ def _on_async_relation_broken(self, _) -> None: if self.charm._patroni.get_standby_leader() is not None: if self.charm.unit.is_leader(): self.charm._peers.data[self.charm.app].update({"promoted-cluster-counter": "0"}) - self._set_app_status() + self._set_app_status() else: if self.charm.unit.is_leader(): self.charm._peers.data[self.charm.app].update({"promoted-cluster-counter": ""})