From d2477601a6c4f5f11773493cacfdc54e5f9a01ae Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Wed, 22 Apr 2020 09:50:54 -0500 Subject: http api: T2096: form of show/generate should be consistent with other cmds --- python/vyos/configsession.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'python/vyos/configsession.py') diff --git a/python/vyos/configsession.py b/python/vyos/configsession.py index aaf08e726..f2524b37e 100644 --- a/python/vyos/configsession.py +++ b/python/vyos/configsession.py @@ -181,11 +181,11 @@ class ConfigSession(object): out = self.__run_command(REMOVE_IMAGE + [name]) return out - def generate(self, cmd): - out = self.__run_command(GENERATE + cmd.split()) + def generate(self, path): + out = self.__run_command(GENERATE + path) return out - def show(self, cmd): - out = self.__run_command(SHOW + cmd.split()) + def show(self, path): + out = self.__run_command(SHOW + path) return out -- cgit v1.2.3