Skip to content

Commit

Permalink
Ensure instance_map.port is numeric
Browse files Browse the repository at this point in the history
Fixup related to matrix-org/synapse#15431
  • Loading branch information
spantaleev committed Apr 25, 2023
1 parent c8215c9 commit 2d05167
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

# Inject stream writers into the instance map.
- ansible.builtin.set_fact:
matrix_synapse_instance_map: "{{ matrix_synapse_instance_map | combine({matrix_synapse_worker_details.name: {'host': matrix_synapse_worker_details.name, 'port': matrix_synapse_worker_details.replication_port}}) }}"
matrix_synapse_instance_map: "{{ matrix_synapse_instance_map | combine({matrix_synapse_worker_details.name: {'host': matrix_synapse_worker_details.name, 'port': matrix_synapse_worker_details.replication_port | int}}) }}"
when: matrix_synapse_worker_details.type in matrix_synapse_known_instance_map_eligible_worker_types

# Inject pusher instances.
Expand Down

0 comments on commit 2d05167

Please sign in to comment.