Skip to content

Commit

Permalink
[DPE-3361] chore: sort bootstrap_servers to avoid repeated client-rel…
Browse files Browse the repository at this point in the history
…ation-changed (#174)
  • Loading branch information
marcoppenheimer authored Feb 27, 2024
1 parent c0f1bd6 commit a5ce72a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def bootstrap_server(self) -> list[str]:
if not self.peer_relation:
return []

return [f"{host}:{self.port}" for host in self.unit_hosts]
return sorted([f"{host}:{self.port}" for host in self.unit_hosts])

@property
def log_dirs(self) -> str:
Expand Down

0 comments on commit a5ce72a

Please sign in to comment.