Skip to content

Commit ef85274

Browse files
ajdlinuxa-nogikh
authored andcommitted
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>
1 parent 2ce07a9 commit ef85274

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syz-ci/syz-ci.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,13 +321,13 @@ func main() {
321321
}()
322322
}
323323
}
324-
jp, err := newJobManager(cfg, managers, shutdownPending)
324+
jm, err := newJobManager(cfg, managers, shutdownPending)
325325
if err != nil {
326326
log.Fatalf("failed to create dashapi connection %v", err)
327327
}
328328
ctxJobs, stopJobs := context.WithCancel(ctx)
329329
wgJobs := sync.WaitGroup{}
330-
jp.startLoop(ctxJobs, &wgJobs)
330+
jm.startLoop(ctxJobs, &wgJobs)
331331

332332
// For testing. Racy. Use with care.
333333
http.HandleFunc("/upload_cover", func(w http.ResponseWriter, r *http.Request) {

0 commit comments

Comments
 (0)