We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4318cfa commit b10db31Copy full SHA for b10db31
1 file changed
sky/jobs/state.py
@@ -1897,7 +1897,7 @@ def is_batch_job(job_id: int) -> bool:
1897
with orm.Session(engine) as session:
1898
result = session.execute(
1899
sqlalchemy.select(job_info_table.c.is_batch).where(
1900
- job_info_table.c.job_id == job_id))
+ job_info_table.c.spot_job_id == job_id))
1901
row = result.one_or_none()
1902
return row is not None and bool(row[0])
1903
0 commit comments