summaryrefslogtreecommitdiff
path: root/test/nagios/soledad_sync.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/nagios/soledad_sync.py')
-rwxr-xr-xtest/nagios/soledad_sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/nagios/soledad_sync.py b/test/nagios/soledad_sync.py
index faf552a..a3c2d5a 100755
--- a/test/nagios/soledad_sync.py
+++ b/test/nagios/soledad_sync.py
@@ -58,7 +58,7 @@ def get_soledad_info(config, tempdir):
# get soledad server url
service_url = 'https://%s:%d/%d/config/soledad-service.json' % \
(api['domain'], api['port'], api['version'])
- soledad_hosts = requests.get(service_url).json['hosts']
+ soledad_hosts = requests.get(service_url).json()['hosts']
host = soledad_hosts.keys()[0]
server_url = 'https://%s:%d/user-%s' % \
(soledad_hosts[host]['hostname'], soledad_hosts[host]['port'],