Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
Co-authored-by: Tian Xia <[email protected]>
  • Loading branch information
andylizf and cblmemo authored Nov 26, 2024
1 parent 939b057 commit 8da7604
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sky/jobs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,8 @@ def stream_logs_by_id(job_id: int, follow: bool = True) -> str:
break

# Logs for retrying failed tasks.
if job_status in job_lib.JobStatus.user_code_failure_states(
):
if (job_status in job_lib.JobStatus.user_code_failure_states(
)):
task_specs = managed_job_state.get_task_specs(
job_id, task_id)
if task_specs.get('max_restarts_on_errors', 0) == 0:
Expand Down

0 comments on commit 8da7604

Please sign in to comment.