Skip to content

Commit b10db31

Browse files
committed
fix
1 parent 4318cfa commit b10db31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sky/jobs/state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1897,7 +1897,7 @@ def is_batch_job(job_id: int) -> bool:
18971897
with orm.Session(engine) as session:
18981898
result = session.execute(
18991899
sqlalchemy.select(job_info_table.c.is_batch).where(
1900-
job_info_table.c.job_id == job_id))
1900+
job_info_table.c.spot_job_id == job_id))
19011901
row = result.one_or_none()
19021902
return row is not None and bool(row[0])
19031903

0 commit comments

Comments
 (0)