Skip to content

Commit a96b844

Browse files
Try to fix topology obsert status
1 parent e2e2e04 commit a96b844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/charm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1310,7 +1310,7 @@ def _on_cluster_topology_change(self, _):
13101310
logger.info("Cluster topology changed")
13111311
if self.primary_endpoint:
13121312
self._update_relation_endpoints()
1313-
self.set_unit_status(ActiveStatus())
1313+
self._set_primary_status_message()
13141314

13151315
def _on_install(self, event: InstallEvent) -> None:
13161316
"""Install prerequisites for the application."""

0 commit comments

Comments
 (0)