Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
Fix MarkDependantsFailed
Browse files Browse the repository at this point in the history
  • Loading branch information
Porges committed Sep 14, 2022
1 parent 2ff7584 commit cfdba67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ApiService/ApiService/onefuzzlib/TaskOperations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ private async Async.Task MarkDependantsFailed(Task task, List<Task>? taskInJob =

foreach (var t in taskInJob) {
if (t.Config.PrereqTasks != null) {
if (t.Config.PrereqTasks.Contains(t.TaskId)) {
if (t.Config.PrereqTasks.Contains(task.TaskId)) {
await MarkFailed(t, new Error(ErrorCode.TASK_FAILED, new[] { $"prerequisite task failed. task_id:{t.TaskId}" }), taskInJob);
}
}
Expand Down

0 comments on commit cfdba67

Please sign in to comment.