Browse Source

v6.1.1.0

Change log: https://roxy-wi.org/changelog.py#6_1_1
pull/328/head v6.1.1.0
Pavel Loginov 2 years ago
parent
commit
2e060eb801
  1. 2
      app/funct.py
  2. 2
      inc/users.js

2
app/funct.py

@ -1386,12 +1386,10 @@ def server_status(stdout):
def ssh_command(server_ip, commands, **kwargs):
from shlex import quote
ssh = ssh_connect(server_ip)
for command in commands:
try:
command = quote(command)
stdin, stdout, stderr = ssh.exec_command(command, get_pty=True)
except Exception as e:
logging('localhost', ' ' + str(e), haproxywi=1)

2
inc/users.js

@ -291,7 +291,7 @@ $( function() {
if (data.indexOf('error:') != '-1') {
toastr.clear();
toastr.error(data);
} else if(data == 'no' || data == '') {
} else if(data == 'no' || data == '' || data.indexOf('No') != '-1') {
$('#cur_haproxy_exp_ver').text('HAProxy exporter has been not installed');
} else {
$('#cur_haproxy_exp_ver').text(data);

Loading…
Cancel
Save