Skip to content

Commit

Permalink
Fix cancelling jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
vidok committed Oct 18, 2023
1 parent c058694 commit 4f5f278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connectors/cli/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async def __async_cancel_jobs(self, connector_id, index_name, job_id):
jobs = await self.__async_list_jobs(connector_id, index_name, job_id)

for job in jobs:
await job._terminate(JobStatus.CANCELED)
await job._terminate(JobStatus.CANCELING)

return True
except:
Expand Down

0 comments on commit 4f5f278

Please sign in to comment.