Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #32 from canonical/chore/auto-libs
Browse files Browse the repository at this point in the history
Update charm libraries
  • Loading branch information
rbarry82 authored Feb 1, 2023
2 parents dc23bc9 + efdcc12 commit 0164fac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/charms/traefik_k8s/v1/ingress_per_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def _on_ingress_revoked(self, event: IngressPerUnitRevokedForUnitEvent):

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

log = logging.getLogger(__name__)

Expand Down Expand Up @@ -491,7 +491,7 @@ def _get_requirer_unit_data(self, relation: Relation, remote_unit: Unit) -> Requ
_validate_data(remote_data, INGRESS_REQUIRES_UNIT_SCHEMA)
remote_data["port"] = int(remote_data["port"])
remote_data["strip-prefix"] = bool(remote_data.get("strip-prefix", False))
return remote_data
return typing.cast(RequirerData, remote_data)

def _provider_app_data(self, relation: Relation) -> ProviderApplicationData:
"""Fetch and validate the provider's app databag."""
Expand Down

0 comments on commit 0164fac

Please sign in to comment.