Skip to content
Snippets Groups Projects
Commit 0ed1265e authored by Tobias Melson's avatar Tobias Melson
Browse files

Fixed mpcdf_admin_info

parent 76f5ebc2
No related branches found
No related tags found
No related merge requests found
Pipeline #268361 passed
...@@ -102,7 +102,7 @@ def print_cluster_updates(url): ...@@ -102,7 +102,7 @@ def print_cluster_updates(url):
all_succeeded = True all_succeeded = True
for cluster, host in clusterlist.items(): for cluster, host in clusterlist.items():
status = json.loads(requests.get(url + "statefiles/" + host).text) status = json.loads(requests.get(url + "statefiles/" + host[0]).text)
if status["error"]: if status["error"]:
print(" {0}: {1}".format(cluster, colored("error", "red"))) print(" {0}: {1}".format(cluster, colored("error", "red")))
all_succeeded = False all_succeeded = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment