Fix a issue with displaying the result of the "Show" command in the "Runtime API" section"

pull/199/head
Vadim Aleksandrov 2020-01-08 20:26:33 +03:00
parent fde50d7069
commit 3f6f2fd2a3
No known key found for this signature in database
GPG Key ID: 8528F3061964C1A2
1 changed files with 1 additions and 1 deletions

View File

@ -551,7 +551,7 @@ if form.getvalue('servaction') is not None:
if enable != "show":
print('<center><h3>You %s %s on HAproxy %s. <a href="viewsttats.py?serv=%s" title="View stat" target="_blank">Look it</a> or <a href="edit.py" title="Edit">Edit something else</a></h3><br />' % (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)