aboutsummaryrefslogtreecommitdiffstats
path: root/syz-ci/jobs.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-07-17 18:07:54 +0200
committerAleksandr Nogikh <nogikh@google.com>2023-07-25 08:23:29 +0000
commitf10792b12616db8be4800398ef8eff0c6c1ffa2b (patch)
treeeb02eec7322bb903b7b984538f1fc44ffe66d41d /syz-ci/jobs.go
parent4699b1c1f3bfd64495d66ce3f89797ff9e14eb43 (diff)
dashboard: rename createPatchTestingJobs() to jobFromBugSample()
This will let us use the same code for sampling-based generation of bisection jobs as well.
Diffstat (limited to 'syz-ci/jobs.go')
-rw-r--r--syz-ci/jobs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syz-ci/jobs.go b/syz-ci/jobs.go
index 89276c04e..36b362ab9 100644
--- a/syz-ci/jobs.go
+++ b/syz-ci/jobs.go
@@ -297,7 +297,7 @@ func (jp *JobProcessor) pollJobs() {
BisectCause: jobs.BisectCause,
BisectFix: jobs.BisectFix,
}
- if apiJobs.TestPatches || apiJobs.BisectCause || apiJobs.BisectFix {
+ if apiJobs.Any() {
poll.Managers[mgr.name] = apiJobs
}
}