From 3f6f2fd2a38fc4a477ff210ecda141103837f974 Mon Sep 17 00:00:00 2001 From: Vadim Aleksandrov Date: Wed, 8 Jan 2020 20:26:33 +0300 Subject: [PATCH] Fix a issue with displaying the result of the "Show" command in the "Runtime API" section" --- app/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/options.py b/app/options.py index 3802e128..d50069d5 100644 --- a/app/options.py +++ b/app/options.py @@ -551,7 +551,7 @@ if form.getvalue('servaction') is not None: if enable != "show": print('

You %s %s on HAproxy %s. Look it or Edit something else


' % (enable, backend, serv, serv)) - funct.ssh_command(serv, command, show_log="1") + print(funct.ssh_command(serv, command, show_log="1")) action = 'edit.py ' + enable + ' ' + backend funct.logging(serv, action)