Skip to content

Commit

Permalink
Update src/charm.py
Browse files Browse the repository at this point in the history
Co-authored-by: Mehdi Bendriss <[email protected]>
  • Loading branch information
MiaAltieri and Mehdi-Bendriss authored Aug 19, 2024
1 parent 00c6efa commit 0e4258b
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 @@ -415,7 +415,7 @@ def _unit_ip(self) -> str:
return str(self.model.get_binding(Config.Relations.PEERS).network.bind_address)

@property
def is_external_client(self) -> Optional[str]:
def is_external_client(self) -> bool:
"""Returns the connectivity mode which mongos should use.
Note that for K8s routers this should always default to True. However we still include
Expand Down

0 comments on commit 0e4258b

Please sign in to comment.