Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions coordinator/lib/charms/traefik_k8s/v0/traefik_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)

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