Skip to content

Commit

Permalink
chore: update charm libraries (#125)
Browse files Browse the repository at this point in the history
Co-authored-by: Github Actions <github-actions@github.com>
  • Loading branch information
observability-noctua-bot and Github Actions authored Feb 2, 2023
1 parent b0f9222 commit befcd1a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/charms/catalogue_k8s/v0/catalogue.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

LIBID = "fa28b361293b46668bcd1f209ada6983"
LIBAPI = 0
LIBPATCH = 3
LIBPATCH = 4

DEFAULT_RELATION_NAME = "catalogue"

Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit befcd1a

Please sign in to comment.