From ebce329e434d6cce300d82f522a34c853d15d154 Mon Sep 17 00:00:00 2001 From: Mia Altieri <32723809+MiaAltieri@users.noreply.github.com> Date: Tue, 26 Mar 2024 12:09:54 +0100 Subject: [PATCH] update lib to return none (#390) ## Issue ## Solution --------- Co-authored-by: Mehdi Bendriss --- lib/charms/mongodb/v0/config_server_interface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/charms/mongodb/v0/config_server_interface.py b/lib/charms/mongodb/v0/config_server_interface.py index 7d863d7e1..acb23df00 100644 --- a/lib/charms/mongodb/v0/config_server_interface.py +++ b/lib/charms/mongodb/v0/config_server_interface.py @@ -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): @@ -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."""