diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-05-01 19:21:35 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-05-01 19:21:35 +0200 |
commit | 992c847493665fd2119636d81582aa80e99e388a (patch) | |
tree | aab41f44ee6f04579f4a8686cdacebdc26b2c82b /data | |
parent | 3f657383cdd96b984c594bb8323a714d7a692f11 (diff) | |
download | vyos-1x-992c847493665fd2119636d81582aa80e99e388a.tar.gz vyos-1x-992c847493665fd2119636d81582aa80e99e388a.zip |
vrf: T4353: fix Jinja2 linting errors
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/firewall/nftables-vrf-zones.j2 (renamed from data/templates/firewall/nftables-vrf-zones.tmpl) | 0 | ||||
-rw-r--r-- | data/templates/vrf/vrf.conf.j2 (renamed from data/templates/vrf/vrf.conf.tmpl) | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/firewall/nftables-vrf-zones.tmpl b/data/templates/firewall/nftables-vrf-zones.j2 index eecf47b78..eecf47b78 100644 --- a/data/templates/firewall/nftables-vrf-zones.tmpl +++ b/data/templates/firewall/nftables-vrf-zones.j2 diff --git a/data/templates/vrf/vrf.conf.tmpl b/data/templates/vrf/vrf.conf.j2 index a51e11ddf..d31d23574 100644 --- a/data/templates/vrf/vrf.conf.tmpl +++ b/data/templates/vrf/vrf.conf.j2 @@ -3,7 +3,7 @@ # Routing table ID to name mapping reference # id vrf name comment {% if name is vyos_defined %} -{% for vrf, vrf_config in name.items() %} +{% for vrf, vrf_config in name.items() %} {{ "%-10s" | format(vrf_config.table) }} {{ "%-16s" | format(vrf) }} {{ '# ' ~ vrf_config.description if vrf_config.description is vyos_defined }} -{% endfor %} +{% endfor %} {% endif %} |