diff --git a/lib/charms/tls_certificates_interface/v3/tls_certificates.py b/lib/charms/tls_certificates_interface/v3/tls_certificates.py index 54f3fedc..141412b0 100644 --- a/lib/charms/tls_certificates_interface/v3/tls_certificates.py +++ b/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} )