Handle empty labels correctly.

This commit is contained in:
Backslash 2024-09-27 09:15:21 +10:00 committed by GitHub
parent 510cfb2dac
commit 5f49433f6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,6 +39,8 @@ traefik.http.routers.element-call-router.middlewares={{ middlewares | join(',')
{% endif %}
# Additional labels (if any) specified by the user
{% if matrix_element_call_container_extra_arguments.keys() | length > 0 %}
{% for key, value in matrix_element_call_container_extra_arguments.items() %}
{{ key }}={{ value }}
{% endfor %}
{% endif %}