From befcd1a69266a32a206c74149dbf27754ccdb530 Mon Sep 17 00:00:00 2001 From: Noctua <98737499+observability-noctua-bot@users.noreply.github.com> Date: Thu, 2 Feb 2023 03:31:32 +0100 Subject: [PATCH] chore: update charm libraries (#125) Co-authored-by: Github Actions --- lib/charms/catalogue_k8s/v0/catalogue.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/charms/catalogue_k8s/v0/catalogue.py b/lib/charms/catalogue_k8s/v0/catalogue.py index 97841c5c..6f0d73e6 100644 --- a/lib/charms/catalogue_k8s/v0/catalogue.py +++ b/lib/charms/catalogue_k8s/v0/catalogue.py @@ -13,7 +13,7 @@ LIBID = "fa28b361293b46668bcd1f209ada6983" LIBAPI = 0 -LIBPATCH = 3 +LIBPATCH = 4 DEFAULT_RELATION_NAME = "catalogue" @@ -57,7 +57,6 @@ def __init__( def _register_refresh_event( self, refresh_event: Optional[Union[BoundEvent, List[BoundEvent]]] = None ): - if not refresh_event: if len(self._charm.meta.containers) == 1: if "kubernetes" in self._charm.meta.series: @@ -168,7 +167,6 @@ def _on_relation_broken(self, event): self.on.items_changed.emit(items=self.items) def _on_relation_changed(self, event): - self.on.items_changed.emit(items=self.items) @property