aboutsummaryrefslogtreecommitdiffstats
path: root/syz-ci
diff options
context:
space:
mode:
authorAndrew Donnellan <ajd@linux.ibm.com>2025-12-10 14:48:45 +1100
committerAleksandr Nogikh <nogikh@google.com>2025-12-11 12:46:44 +0000
commitef85274a87e38293283a1ec5417cdc76d1ad6b7c (patch)
tree0ea2ec2f7278fde937bdb6665ec1577325a3996a /syz-ci
parent2ce07a96a337bb84486897305bd4ea11e307a7a6 (diff)
syz-ci: rename JobManager struct instance from "jp" to "jm"
Rename the JobManager struct in main() from "jp" to "jm", to match the conventions used in jobs.go and avoid confusion with JobProcessors. Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
Diffstat (limited to 'syz-ci')
-rw-r--r--syz-ci/syz-ci.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/syz-ci/syz-ci.go b/syz-ci/syz-ci.go
index ff1f90518..4ee611852 100644
--- a/syz-ci/syz-ci.go
+++ b/syz-ci/syz-ci.go
@@ -321,13 +321,13 @@ func main() {
}()
}
}
- jp, err := newJobManager(cfg, managers, shutdownPending)
+ jm, err := newJobManager(cfg, managers, shutdownPending)
if err != nil {
log.Fatalf("failed to create dashapi connection %v", err)
}
ctxJobs, stopJobs := context.WithCancel(ctx)
wgJobs := sync.WaitGroup{}
- jp.startLoop(ctxJobs, &wgJobs)
+ jm.startLoop(ctxJobs, &wgJobs)
// For testing. Racy. Use with care.
http.HandleFunc("/upload_cover", func(w http.ResponseWriter, r *http.Request) {