diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-08-05 10:32:59 +0200 |
---|---|---|
committer | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-08-05 13:46:00 +0200 |
commit | c5b438e73b5bc22b2d4be0e0052986c8e6bdcc5c (patch) | |
tree | 5137e05859f261edd3e6c0a8c778a19321203ead | |
parent | 86054a4cb805dc011ef7eff8a6df75dd3531b77d (diff) |
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")
-rw-r--r-- | ogcp/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ogcp/views.py b/ogcp/views.py index ffa890d..dde7941 100644 --- a/ogcp/views.py +++ b/ogcp/views.py @@ -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} |