Fix(?) whitespace

netbox
Daniel Ankers 2024-07-05 14:32:08 +01:00
parent aa03cc7fca
commit 0d82de4f5b
1 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ chassis {
{% macro interfaceconfig(interface,rack = None) %}
{%- if not ('-' in interface.name) or interface.description or interface.lag or interface.ip_addresses.count() or interface.connected_endpoints or interface.mode or interface.tagged_vlans.all() or interface.untagged_vlan %}
{%- if not ('-' in interface.name) or interface.description or interface.lag or interface.ip_addresses.count() or interface.connected_endpoints or interface.mode or interface.tagged_vlans.all() or interface.untagged_vlan -%}
{{ interface.name }} {
{% if interface.description %}
description "{{ interface.description }}";
@ -196,7 +196,7 @@ chassis {
{% endif %}
{% endif %}
}
{%- endif %}
{%- endif -%}
{%- endmacro %}
{% macro interfacesection(device,vlans) %}