From 2306ee366d8ffe574b1da14092f7271a76b1441c Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 22 May 2024 02:11:10 +0800 Subject: [PATCH] [CoreEngine] make the server status work. --- .../fedml/computing/scheduler/scheduler_core/status_center.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/fedml/computing/scheduler/scheduler_core/status_center.py b/python/fedml/computing/scheduler/scheduler_core/status_center.py index 4ababbc826..fa43fd649a 100755 --- a/python/fedml/computing/scheduler/scheduler_core/status_center.py +++ b/python/fedml/computing/scheduler/scheduler_core/status_center.py @@ -218,7 +218,7 @@ def run_status_dispatcher(self, status_event, status_queue, message_center=message_center) else: status_manager_instances[run_id_str].edge_id = status_entity.edge_id - if status_entity.server_id is None and status_entity.server_id != 0: + if status_entity.server_id is not None and status_entity.server_id != 0: status_manager_instances[run_id_str].server_id = status_entity.server_id # if the job status is completed then continue