summaryrefslogtreecommitdiff
path: root/pipe_factory.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-26 12:44:12 +0300
committerValery Piashchynski <[email protected]>2020-11-26 12:44:12 +0300
commit574f351aaecdee1176b9700bb6d7eb61fe170906 (patch)
tree6271704950d2c89a43de3edafb677a003d50a406 /pipe_factory.go
parente5313529e4293b7ad985cce72cec54b08462259d (diff)
Remove context from worker wait function. Explicitly enable ubuntu 20.04
in the CI
Diffstat (limited to 'pipe_factory.go')
-rwxr-xr-xpipe_factory.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pipe_factory.go b/pipe_factory.go
index a85606d2..3e98bd4e 100755
--- a/pipe_factory.go
+++ b/pipe_factory.go
@@ -81,7 +81,7 @@ func (f *PipeFactory) SpawnWorkerWithContext(ctx context.Context, cmd *exec.Cmd)
err = multierr.Combine(
err,
w.Kill(),
- w.Wait(context.Background()),
+ w.Wait(),
)
c <- SpawnResult{
w: nil,
@@ -145,7 +145,7 @@ func (f *PipeFactory) SpawnWorker(cmd *exec.Cmd) (WorkerBase, error) {
err = multierr.Combine(
err,
w.Kill(),
- w.Wait(context.Background()),
+ w.Wait(),
)
return nil, errors.E(op, err)
}