From 152a147c3a34eb4444fe1879962c8b53e2e58835 Mon Sep 17 00:00:00 2001
From: Christian Poessinger <christian@poessinger.com>
Date: Sun, 12 Apr 2020 21:33:23 +0200
Subject: 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.
---
 src/conf_mode/ntp.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'src/conf_mode')

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'
 
-- 
cgit v1.2.3