Skip to content

Commit

Permalink
chore: update charm libraries (signed) (#236)
Browse files Browse the repository at this point in the history
Co-authored-by: Github Actions <[email protected]>
  • Loading branch information
sed-i and Github Actions authored Mar 12, 2024
1 parent 0b7ed97 commit af82fec
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 99 deletions.
4 changes: 2 additions & 2 deletions lib/charms/tempo_k8s/v2/tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def __init__(self, *args):

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

PYDEPS = ["pydantic"]

Expand Down Expand Up @@ -577,7 +577,7 @@ def relations(self) -> List[Relation]:
"""All v2 relations active on this endpoint."""
return [r for r in self._charm.model.relations[self._relation_name] if self.is_v2(r)]

def publish_receivers(self, receivers: Iterable[RawReceiver]):
def publish_receivers(self, receivers: Sequence[RawReceiver]):
"""Let all requirers know that these receivers are active and listening."""
if not self._charm.unit.is_leader():
raise RuntimeError("only leader can do this")
Expand Down
Loading

0 comments on commit af82fec

Please sign in to comment.