Display overview immediately if single server
pull/321/head v5.3.3.0
Pavel Loginov 2021-11-28 18:20:50 +03:00 committed by GitHub
commit 59d5a8c0b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -82,6 +82,8 @@ for s, v in services_name.items():
haproxy_sock_port = sql.get_setting('haproxy_sock_port')
servers_with_status1 = []
out1 = ''
if len(servers) == 1:
serv = servers[0][2]
for s in servers:
servers_with_status = list()
servers_with_status.append(s[0])