summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-12 21:33:23 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-12 21:33:23 +0200
commit152a147c3a34eb4444fe1879962c8b53e2e58835 (patch)
tree29137cc8d92cda512279f8f01ce37e84da98d5b0 /src/conf_mode
parent8978c7eaf4b1a89712242c8626a217024aae2f2b (diff)
downloadvyos-1x-152a147c3a34eb4444fe1879962c8b53e2e58835.tar.gz
vyos-1x-152a147c3a34eb4444fe1879962c8b53e2e58835.zip
ntp: T2230: fix wrong import after template migration
Commit 1fbaa2c ("template: T2230: use render to generate templates") did try to import render from the wrong module.
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/ntp.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/conf_mode/ntp.py b/src/conf_mode/ntp.py
index a1a7befcb..6d32f7fd6 100755
--- a/src/conf_mode/ntp.py
+++ b/src/conf_mode/ntp.py
@@ -21,10 +21,9 @@ from ipaddress import ip_network
from sys import exit
from vyos.config import Config
-from vyos import ConfigError
from vyos.util import call
-from vyos.util import render
-
+from vyos.template import render
+from vyos import ConfigError
config_file = r'/etc/ntp.conf'