Skip to content

Commit

Permalink
Code review improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirp committed Jun 27, 2024
1 parent d440a73 commit eaf4419
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,6 @@ def _get_relation_config(self) -> [Dict[str, Dict[str, Union[str, bool]]]]:
sorted_rhosts = [r_host.split(":")[0] for r_host in read_only_endpoints]
sorted_rhosts.sort()
r_hosts = ",".join(sorted_rhosts)
r_hosts = ",".join([r_host.split(":")[0] for r_host in read_only_endpoints])
if r_hosts:
for r_host in read_only_endpoints:
r_port = r_host.split(":")[1]
Expand Down

0 comments on commit eaf4419

Please sign in to comment.