diff options
| author | Andrew Donnellan <ajd@linux.ibm.com> | 2025-12-10 14:48:45 +1100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-12-11 12:46:44 +0000 |
| commit | ef85274a87e38293283a1ec5417cdc76d1ad6b7c (patch) | |
| tree | 0ea2ec2f7278fde937bdb6665ec1577325a3996a /syz-ci | |
| parent | 2ce07a96a337bb84486897305bd4ea11e307a7a6 (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.go | 4 |
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) { |
