diff --git a/lib/charms/grafana_agent/v0/cos_agent.py b/lib/charms/grafana_agent/v0/cos_agent.py index 1ea79a6..1031cbe 100644 --- a/lib/charms/grafana_agent/v0/cos_agent.py +++ b/lib/charms/grafana_agent/v0/cos_agent.py @@ -252,7 +252,7 @@ class _MetricsEndpointDict(TypedDict): LIBID = "dc15fa84cef84ce58155fb84f6c6213a" LIBAPI = 0 -LIBPATCH = 12 +LIBPATCH = 13 PYDEPS = ["cosl", "pydantic"] @@ -767,7 +767,7 @@ def is_ready(self, relation: Optional[Relation] = None): """Is this endpoint ready?""" relation = relation or self._relation if not relation: - logger.debug(f"no relation on {self._relation_name !r}: tracing not ready") + logger.debug(f"no relation on {self._relation_name!r}: tracing not ready") return False if relation.data is None: logger.error(f"relation data is None for {relation}") @@ -1029,8 +1029,7 @@ def _get_requested_protocols(self, relation: Relation): if len(units) > 1: # should never happen raise ValueError( - f"unexpected error: subordinate relation {relation} " - f"should have exactly one unit" + f"unexpected error: subordinate relation {relation} should have exactly one unit" ) unit = next(iter(units), None)