mirror of https://git.48k.eu/ogcp
Fix ogServer names on the scopes tree
This commit adapt how "get_scopes()" accesses the name of the ogServer because commit eae64dd changes how "multi_request()" returns it. Fixes: eae64dd ("Initial support of ogServer requests routing")async-tree
parent
74e9ff9907
commit
b4c0bd5c5e
|
@ -227,7 +227,7 @@ def get_scopes(ips=set()):
|
|||
for r in responses:
|
||||
scopes = r['json']
|
||||
server_scope = {}
|
||||
server_scope['name'] = r['server']
|
||||
server_scope['name'] = r['server'].name
|
||||
server_scope.update(scopes)
|
||||
list_scopes.append(server_scope)
|
||||
all_scopes = {'scope': list_scopes}
|
||||
|
|
Loading…
Reference in New Issue