Skip to content

Commit

Permalink
remove noqa
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasgameiroborges committed Jun 26, 2024
1 parent b1df5c3 commit 3649429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ def _on_pgdata_storage_detaching(self, _) -> None:
if self.primary_endpoint:
self._update_relation_endpoints()

def _on_peer_relation_changed(self, event: HookEvent): # noqa: C901
def _on_peer_relation_changed(self, event: HookEvent):
"""Reconfigure cluster members when something changes."""
# Prevents the cluster to be reconfigured before it's bootstrapped in the leader.
if "cluster_initialised" not in self._peers.data[self.app]:
Expand Down

0 comments on commit 3649429

Please sign in to comment.