summaryrefslogtreecommitdiff
path: root/src/conf_mode/flow_accounting_conf.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-01 19:01:30 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-01 19:01:30 +0200
commite0f1e495b81c8b214a8e12678bf5c643b36567dd (patch)
treeb107daebd1a66e4ffb0db30336c56ed020312d94 /src/conf_mode/flow_accounting_conf.py
parent5ffbd74baee4c3e987fe1875c2c73a1fe7afdbe1 (diff)
downloadvyos-1x-e0f1e495b81c8b214a8e12678bf5c643b36567dd.tar.gz
vyos-1x-e0f1e495b81c8b214a8e12678bf5c643b36567dd.zip
flow-accounting: T4353: fix Jinja2 linting errors
Diffstat (limited to 'src/conf_mode/flow_accounting_conf.py')
-rwxr-xr-xsrc/conf_mode/flow_accounting_conf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/flow_accounting_conf.py b/src/conf_mode/flow_accounting_conf.py
index 25bf54790..7f7a98b04 100755
--- a/src/conf_mode/flow_accounting_conf.py
+++ b/src/conf_mode/flow_accounting_conf.py
@@ -239,8 +239,8 @@ def generate(flow_config):
if not flow_config:
return None
- render(uacctd_conf_path, 'pmacct/uacctd.conf.tmpl', flow_config)
- render(systemd_override, 'pmacct/override.conf.tmpl', flow_config)
+ render(uacctd_conf_path, 'pmacct/uacctd.conf.j2', flow_config)
+ render(systemd_override, 'pmacct/override.conf.j2', flow_config)
# Reload systemd manager configuration
call('systemctl daemon-reload')