diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-05-01 19:46:17 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-05-01 19:46:17 +0200 |
commit | 8b0ee4d172793040d473790c75d70ff27b69d7f9 (patch) | |
tree | 5a9e0eead08951c26dc46dcea3631bb5add3e564 | |
parent | 49b1afc25b73d9c5daae1c76edb88aab42afa83e (diff) | |
download | vyos-1x-8b0ee4d172793040d473790c75d70ff27b69d7f9.tar.gz vyos-1x-8b0ee4d172793040d473790c75d70ff27b69d7f9.zip |
mdns-repeater: T4353: fix Jinja2 linting errors
-rw-r--r-- | data/templates/mdns-repeater/avahi-daemon.j2 (renamed from data/templates/mdns-repeater/avahi-daemon.tmpl) | 0 | ||||
-rwxr-xr-x | src/conf_mode/service_mdns-repeater.py | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/mdns-repeater/avahi-daemon.tmpl b/data/templates/mdns-repeater/avahi-daemon.j2 index 65bb5a306..65bb5a306 100644 --- a/data/templates/mdns-repeater/avahi-daemon.tmpl +++ b/data/templates/mdns-repeater/avahi-daemon.j2 diff --git a/src/conf_mode/service_mdns-repeater.py b/src/conf_mode/service_mdns-repeater.py index d31a0c49e..2383a53fb 100755 --- a/src/conf_mode/service_mdns-repeater.py +++ b/src/conf_mode/service_mdns-repeater.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -# Copyright (C) 2017-2020 VyOS maintainers and contributors +# Copyright (C) 2017-2022 VyOS maintainers and contributors # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 or later as @@ -92,7 +92,7 @@ def generate(mdns): if len(mdns['interface']) < 2: return None - render(config_file, 'mdns-repeater/avahi-daemon.tmpl', mdns) + render(config_file, 'mdns-repeater/avahi-daemon.j2', mdns) return None def apply(mdns): |