Skip to content

Commit

Permalink
T6255: static-routing: don't render whitespace from static table desc…
Browse files Browse the repository at this point in the history
…riptions

(cherry picked from commit 8602c84)
  • Loading branch information
Embezzle authored and mergify[bot] committed Apr 23, 2024
1 parent b472397 commit 345b129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/templates/iproute2/static.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% if table is vyos_defined %}
{% for t, t_options in table.items() %}
{% if t_options.description is vyos_defined %}
{{ "%-6s" | format(t) }} {{ "%-40s" | format(t_options.description) }}
{{ "%-6s" | format(t) }} {{ "%-40s" | format(t_options.description | replace(" ", "_")) }}
{% endif %}
{% endfor %}
{% endif %}

0 comments on commit 345b129

Please sign in to comment.