diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-05-01 20:43:45 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-05-01 20:47:04 +0200 |
commit | f38ce741c2852e4eaeeaa23736960d9a717b600f (patch) | |
tree | cec4d823a93611c3df0f073c341ea0a18754dc33 /src/conf_mode | |
parent | 01bdf2dfdb09bf9dd7ca4e7b49def302b2cd7c29 (diff) | |
download | vyos-1x-f38ce741c2852e4eaeeaa23736960d9a717b600f.tar.gz vyos-1x-f38ce741c2852e4eaeeaa23736960d9a717b600f.zip |
system-logs: T4353: fix Jinja2 linting errors
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/system-logs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/system-logs.py b/src/conf_mode/system-logs.py index e6296656d..c71938a79 100755 --- a/src/conf_mode/system-logs.py +++ b/src/conf_mode/system-logs.py @@ -57,13 +57,13 @@ def generate(logs_config): logrotate_atop = dict_search('logrotate.atop', logs_config) # generate new config file for atop syslog.debug('Adding logrotate config for atop') - render(logrotate_atop_file, 'logs/logrotate/vyos-atop.tmpl', logrotate_atop) + render(logrotate_atop_file, 'logs/logrotate/vyos-atop.j2', logrotate_atop) # get configuration for logrotate rsyslog logrotate_rsyslog = dict_search('logrotate.messages', logs_config) # generate new config file for rsyslog syslog.debug('Adding logrotate config for rsyslog') - render(logrotate_rsyslog_file, 'logs/logrotate/vyos-rsyslog.tmpl', + render(logrotate_rsyslog_file, 'logs/logrotate/vyos-rsyslog.j2', logrotate_rsyslog) |