(configd/templates) remove line break from physical_interface

This commit is contained in:
Ad Schellevis 2016-03-25 11:25:15 +01:00
parent 89ef76aa2e
commit 339b77d134

View File

@ -2,7 +2,9 @@
macro physical_interface, return physical interface by name (e.g. lan -> em0)
#}
{% macro physical_interface(name) -%}
{% if helpers.exists('interfaces.'+name+'.if') %}
{{ helpers.getNodeByTag('interfaces.'+name+'.if') }}
{% endif %}
{%- endmacro %}
{% if helpers.exists('interfaces.'+name+'.if')
%} {{
helpers.getNodeByTag('interfaces.'+name+'.if')
}}{%
endif
%}{%- endmacro %}