From 221fbccdc6bf847c975c6d69554a893bb9baccd5 Mon Sep 17 00:00:00 2001 From: Noctua Date: Tue, 12 Nov 2024 17:03:05 +0100 Subject: [PATCH] chore: update charm libraries (#143) --- .../charms/tls_certificates_interface/v3/tls_certificates.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charm/lib/charms/tls_certificates_interface/v3/tls_certificates.py b/charm/lib/charms/tls_certificates_interface/v3/tls_certificates.py index 54f3fed..141412b 100644 --- a/charm/lib/charms/tls_certificates_interface/v3/tls_certificates.py +++ b/charm/lib/charms/tls_certificates_interface/v3/tls_certificates.py @@ -318,7 +318,7 @@ def _on_all_certificates_invalidated(self, event: AllCertificatesInvalidatedEven # Increment this PATCH version before using `charmcraft publish-lib` or reset # to 0 if you are raising the major API version -LIBPATCH = 22 +LIBPATCH = 23 PYDEPS = ["cryptography", "jsonschema"] @@ -1915,7 +1915,7 @@ def _on_relation_changed(self, event: RelationChangedEvent) -> None: "Secret %s with correct certificate already exists", f"{LIBID}-{csr_in_sha256_hex}", ) - return + continue secret.set_content( {"certificate": certificate.certificate, "csr": certificate.csr} )