Skip to content

Commit 3ec0c5b

Browse files
chore: update charm libraries (#298)
1 parent 8c3eb9e commit 3ec0c5b

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎coordinator/lib/charms/traefik_k8s/v0/traefik_route.py‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def __init__(self, *args):
121121

122122
# Increment this PATCH version before using `charmcraft publish-lib` or reset
123123
# to 0 if you are raising the major API version
124-
LIBPATCH = 5
124+
LIBPATCH = 6
125125

126126
log = logging.getLogger(__name__)
127127

@@ -392,9 +392,6 @@ def _update_stored(self) -> None:
392392
allows for reuse both when the property is called and if the relation changes, so a
393393
leader change where the new leader checks the property will do the right thing.
394394
"""
395-
if not self._charm.unit.is_leader():
396-
return
397-
398395
if self._relation:
399396
for relation in self._charm.model.relations[self._relation.name]:
400397
if not relation.app:

0 commit comments

Comments
 (0)