summaryrefslogtreecommitdiff
path: root/worker_watcher.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 /worker_watcher.go
parente5313529e4293b7ad985cce72cec54b08462259d (diff)
Remove context from worker wait function. Explicitly enable ubuntu 20.04
in the CI
Diffstat (limited to 'worker_watcher.go')
-rwxr-xr-xworker_watcher.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker_watcher.go b/worker_watcher.go
index a617fe65..3b83c8ff 100755
--- a/worker_watcher.go
+++ b/worker_watcher.go
@@ -277,7 +277,7 @@ func (ww *workerWatcher) WorkersList() []WorkerBase {
func (ww *workerWatcher) wait(ctx context.Context, w WorkerBase) {
const op = errors.Op("process wait")
- err := w.Wait(ctx)
+ err := w.Wait()
if err != nil {
ww.events.Push(WorkerEvent{
Event: EventWorkerError,