Skip to content

Commit

Permalink
Update lib/charms/opensearch/v0/opensearch_base_charm.py
Browse files Browse the repository at this point in the history
Co-authored-by: Carl Csaposs <carl.csaposs@canonical.com>
  • Loading branch information
phvalguima and carlcsaposs-canonical committed May 1, 2024
1 parent 950bdfa commit bcf5561
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/charms/opensearch/v0/opensearch_base_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,8 @@ def _on_peer_relation_changed(self, event: RelationChangedEvent):
and self.health.apply() in [HealthColors.UNKNOWN, HealthColors.YELLOW_TEMP]
):
if self._is_peer_rel_changed_deferred:
# We had already tried this event before and deferred. Retry on the next
# hook call.
# We already deferred this event during this Juju event. Retry on the next
# Juju event.
return
# we defer because we want the temporary status to be updated
event.defer()
Expand Down

0 comments on commit bcf5561

Please sign in to comment.