mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-15 03:18:07 +00:00
Event based webhooks (#296)
This commit is contained in:
@ -67,8 +67,7 @@ class Job(BASE_JOB, ORMMixin):
|
||||
|
||||
if not_stopped:
|
||||
for task in not_stopped:
|
||||
task.state = TaskState.stopping
|
||||
task.save()
|
||||
task.mark_stopping()
|
||||
else:
|
||||
self.state = JobState.stopped
|
||||
self.save()
|
||||
|
Reference in New Issue
Block a user