Skip to content

Commit

Permalink
fix: typo in config server interface library (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gu1nness authored Sep 24, 2024
1 parent a5e52a9 commit 9fe3985
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/charms/mongodb/v0/config_server_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

# Increment this PATCH version before using `charmcraft publish-lib` or reset
# to 0 if you are raising the major API version
LIBPATCH = 12
LIBPATCH = 13


class ClusterProvider(Object):
Expand Down Expand Up @@ -318,7 +318,8 @@ def _on_relation_changed(self, event) -> None:
return

self.charm.status.set_and_share_status(ActiveStatus())
self.charm.mongos_intialised = True
if self.charm.unit.is_leader():
self.charm.mongos_initialised = True

def _on_relation_broken(self, event: RelationBrokenEvent) -> None:
# Only relation_deparated events can check if scaling down
Expand Down

0 comments on commit 9fe3985

Please sign in to comment.