Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaAltieri committed Oct 19, 2023
1 parent 219b44b commit 6d5bb95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/charms/mongodb/v1/mongodb_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

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

logger = logging.getLogger(__name__)
REL_NAME = "database"
Expand Down
2 changes: 1 addition & 1 deletion lib/charms/mongodb/v1/mongodb_vm_legacy_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def _on_legacy_relation_created(self, event):

if self.charm.is_role(Config.Role.SHARD) or self.charm.is_role(Config.Role.CONFIG_SERVER):
self.charm.unit.status = BlockedStatus(
"Sharding roles do not support mongodb_client interface."
"Sharding roles do not support mongodb interface."
)
logger.error(
"Charm is in sharding role: %s. Does not support mongodb_client interface.",
Expand Down

0 comments on commit 6d5bb95

Please sign in to comment.