diff --git a/coordinator/lib/charms/traefik_k8s/v0/traefik_route.py b/coordinator/lib/charms/traefik_k8s/v0/traefik_route.py index edde7e83..4a258ac2 100644 --- a/coordinator/lib/charms/traefik_k8s/v0/traefik_route.py +++ b/coordinator/lib/charms/traefik_k8s/v0/traefik_route.py @@ -121,7 +121,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 = 5 +LIBPATCH = 6 log = logging.getLogger(__name__) @@ -392,9 +392,6 @@ def _update_stored(self) -> None: allows for reuse both when the property is called and if the relation changes, so a leader change where the new leader checks the property will do the right thing. """ - if not self._charm.unit.is_leader(): - return - if self._relation: for relation in self._charm.model.relations[self._relation.name]: if not relation.app: