From ef85274a87e38293283a1ec5417cdc76d1ad6b7c Mon Sep 17 00:00:00 2001 From: Andrew Donnellan Date: Wed, 10 Dec 2025 14:48:45 +1100 Subject: 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 --- syz-ci/syz-ci.go | 4 ++-- 1 file 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) { -- cgit mrf-deployment