-
Notifications
You must be signed in to change notification settings - Fork 10
refactor(executor): clarify why use different contexts #304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
976cf79
bf4fe81
f5fd2fa
c7566c4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- pass in the global context - derive contexts from global context - rename various ctx usages to clarify purpose
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -105,8 +105,7 @@ func (w *Worker) operate(ctx context.Context) error { | |
| return nil | ||
| default: | ||
| // exec operator subprocess to poll and execute builds | ||
| // nolint: contextcheck // ignore passing context | ||
| err = w.exec(id) | ||
| err = w.exec(gctx, id) | ||
|
||
| if err != nil { | ||
| // log the error received from the executor | ||
| // | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.