mirror of https://github.com/Aidaho12/haproxy-wi
Display overview immediately if single server
parent
15ab47266e
commit
add667ddc5
|
@ -82,6 +82,8 @@ for s, v in services_name.items():
|
||||||
haproxy_sock_port = sql.get_setting('haproxy_sock_port')
|
haproxy_sock_port = sql.get_setting('haproxy_sock_port')
|
||||||
servers_with_status1 = []
|
servers_with_status1 = []
|
||||||
out1 = ''
|
out1 = ''
|
||||||
|
if len(servers) == 1:
|
||||||
|
serv = servers[0][2]
|
||||||
for s in servers:
|
for s in servers:
|
||||||
servers_with_status = list()
|
servers_with_status = list()
|
||||||
servers_with_status.append(s[0])
|
servers_with_status.append(s[0])
|
||||||
|
|
Loading…
Reference in New Issue