diff --git a/sky/jobs/utils.py b/sky/jobs/utils.py index a021443701f..f4aaf049c4a 100644 --- a/sky/jobs/utils.py +++ b/sky/jobs/utils.py @@ -330,7 +330,7 @@ def finish_stream(): This filters out polling logs ('Checking the job status') from utils.py, and ensures we capture the essential setup messages. """ - status = managed_job_state.get_task_id_status(job_id, task_id)[1] + _, status = managed_job_state.get_task_id_status(job_id, task_id) return (status is not None) and (status not in [ managed_job_state.ManagedJobStatus.STARTING, managed_job_state.ManagedJobStatus.RECOVERING,