mirror of https://git.48k.eu/ogcp
Add status of all clients to the scopes tree
Fetch clients status using 'get_clients()'.async-tree
parent
279184df5f
commit
ddea404c5b
|
@ -218,8 +218,7 @@ def get_scopes(ips=set()):
|
|||
allowed_scopes = []
|
||||
get_allowed_scopes(all_scopes, allowed_scopes)
|
||||
all_scopes = {'scope': allowed_scopes}
|
||||
r = g.server.get('/clients')
|
||||
clients = r.json()
|
||||
clients = get_clients()
|
||||
add_state_and_ips(all_scopes, clients['clients'], ips)
|
||||
|
||||
return all_scopes, clients
|
||||
|
|
Loading…
Reference in New Issue