Skip to content

Commit f1b7b50

Browse files
authored
Merge pull request #2127 from FedML-AI/alexleung/dev_branch_latest
[CoreEngine] make the server status work.
2 parents a677e13 + 2306ee3 commit f1b7b50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/fedml/computing/scheduler/scheduler_core/status_center.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def run_status_dispatcher(self, status_event, status_queue,
218218
message_center=message_center)
219219
else:
220220
status_manager_instances[run_id_str].edge_id = status_entity.edge_id
221-
if status_entity.server_id is None and status_entity.server_id != 0:
221+
if status_entity.server_id is not None and status_entity.server_id != 0:
222222
status_manager_instances[run_id_str].server_id = status_entity.server_id
223223

224224
# if the job status is completed then continue

0 commit comments

Comments
 (0)