Skip to content

Commit

Permalink
Use tls-certificates v3
Browse files Browse the repository at this point in the history
  • Loading branch information
sed-i committed Mar 26, 2024
1 parent 2209575 commit 29b08b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/charms/observability_libs/v0/cert_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
from typing import List, Optional, Union, cast

try:
from charms.tls_certificates_interface.v2.tls_certificates import ( # type: ignore
from charms.tls_certificates_interface.v3.tls_certificates import ( # type: ignore
AllCertificatesInvalidatedEvent,
CertificateAvailableEvent,
CertificateExpiringEvent,
Expand All @@ -51,7 +51,7 @@
)
except ImportError as e:
raise ImportError(
"failed to import charms.tls_certificates_interface.v2.tls_certificates; "
"failed to import charms.tls_certificates_interface.v3.tls_certificates; "
"Either the library itself is missing (please get it through charmcraft fetch-lib) "
"or one of its dependencies is unmet."
) from e
Expand All @@ -67,7 +67,7 @@

LIBID = "b5cd5cd580f3428fa5f59a8876dcbe6a"
LIBAPI = 0
LIBPATCH = 9
LIBPATCH = 10


def is_ip_address(value: str) -> bool:
Expand Down

0 comments on commit 29b08b1

Please sign in to comment.