Skip to content

Commit

Permalink
Wrong call
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirp committed Dec 30, 2024
1 parent 5f3609f commit fdc3dbd
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 @@ -1706,7 +1706,7 @@ def _set_primary_status_message(self) -> None:
danger_state = ""
if not self._patroni.has_raft_quorum():
danger_state = " (read-only)"
self.charm.unit_peer_data.update({"raft_stuck": "True"})
self.unit_peer_data.update({"raft_stuck": "True"})
elif len(self._patroni.get_running_cluster_members()) < self.app.planned_units():
danger_state = " (degraded)"
self.unit.status = ActiveStatus(
Expand Down

0 comments on commit fdc3dbd

Please sign in to comment.