Skip to content

Commit

Permalink
chore: Update charm libraries (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
telcobot authored Dec 17, 2024
1 parent 9ce4540 commit 1174de2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/charms/tls_certificates_interface/v4/tls_certificates.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

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

PYDEPS = ["cryptography", "pydantic"]

Expand Down Expand Up @@ -1025,7 +1025,7 @@ def _configure(self, _: EventBase):
self._find_available_certificates()
self._cleanup_certificate_requests()

def _mode_is_valid(self, mode) -> bool:
def _mode_is_valid(self, mode: Mode) -> bool:
return mode in [Mode.UNIT, Mode.APP]

def _on_secret_remove(self, event: SecretRemoveEvent) -> None:
Expand Down

0 comments on commit 1174de2

Please sign in to comment.