Skip to content

Commit

Permalink
fix a bug in task_manager
Browse files Browse the repository at this point in the history
In update_canceling_progress, the original_progress should be enum instead of the raw string.
  • Loading branch information
idocx committed May 7, 2024
1 parent c0611b5 commit d46dbd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alab_management/task_manager/task_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,5 @@ def handle_tasks_to_be_canceled(self):
self.task_view.update_canceling_progress(
task_id=task_entry["task_id"],
canceling_progress=CancelingProgress.WORKER_NOTIFIED,
original_progress=task_entry["canceling_progress"],
original_progress=CancelingProgress(task_entry["canceling_progress"]),
)

0 comments on commit d46dbd8

Please sign in to comment.