Skip to content

Commit

Permalink
update lib to return none (#390)
Browse files Browse the repository at this point in the history
## Issue


## Solution

---------

Co-authored-by: Mehdi Bendriss <bendrissmehdi@gmail.com>
  • Loading branch information
MiaAltieri and Mehdi-Bendriss committed Mar 26, 2024
1 parent c7e2612 commit ebce329
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/charms/mongodb/v0/config_server_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

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


class ClusterProvider(Object):
Expand Down Expand Up @@ -378,7 +378,7 @@ def get_tls_statuses(self) -> Optional[StatusBase]:
)
return BlockedStatus("mongos CA and Config-Server CA don't match.")

return
return None

def get_config_server_name(self) -> Optional[str]:
"""Returns the name of the Juju Application that mongos is using as a config server."""
Expand Down

0 comments on commit ebce329

Please sign in to comment.