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

Commit

Permalink
Merge branch 'main' into fix-bucketconfig-comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
Porges authored Sep 14, 2022
2 parents fa40448 + bb81f2e commit 1a02882
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ jobs:
matrix:
os:
- [ self-hosted, "1ES.Pool=onefuzz-ci", "1ES.ImageOverride=github-runner-image-windows-2019" ]
- [ self-hosted, "1ES.Pool=onefuzz-ci", "1ES.ImageOverride=github-runner-image-ubuntu-18.04" ]
# disabled while issue is affecting instances
#- [ self-hosted, "1ES.Pool=onefuzz-ci", "1ES.ImageOverride=github-runner-image-ubuntu-18.04" ]
- ubuntu-18.04
runs-on: "${{ matrix.os }}"
steps:
- uses: actions/checkout@v2
Expand Down
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 1a02882

Please sign in to comment.