From fe876c2e5060c3d7d57b325f21b8bc7f196811cb Mon Sep 17 00:00:00 2001 From: Tobias Melson <tobias.melson@mpcdf.mpg.de> Date: Wed, 15 Jan 2025 16:12:01 +0100 Subject: [PATCH] Fixed output in admin info --- mpcdf_admin_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpcdf_admin_info.py b/mpcdf_admin_info.py index 844ace1..3bdece8 100644 --- a/mpcdf_admin_info.py +++ b/mpcdf_admin_info.py @@ -72,7 +72,7 @@ def print_workers(api_url): down_workers += 1 print(" {0}: {1}".format(down.get("workerid").split(":")[0], colored("down", "red"))) - if len(building_workers) == 0 and down_workers == 0: + if len(building_workers) == 0 and waiting_jobs == 0 and down_workers == 0: print(" {0}".format(colored("all idling", "green"))) -- GitLab