Fix(?) whitespace

netbox
Daniel Ankers 2024-07-05 14:34:00 +01:00
parent 0d82de4f5b
commit 23024dfdf2
1 changed files with 3 additions and 3 deletions

View File

@ -112,8 +112,8 @@ chassis {
{%- endmacro %}
{% 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 -%}
{%- 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 %}
{{ interface.name }} {
{% if interface.description %}
description "{{ interface.description }}";
@ -196,7 +196,7 @@ chassis {
{% endif %}
{% endif %}
}
{%- endif -%}
{%- endif %}
{%- endmacro %}
{% macro interfacesection(device,vlans) %}