diff options
author | Valery Piashchynski <[email protected]> | 2021-01-24 01:24:50 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-24 01:24:50 +0300 |
commit | 00f94201218079cf2ba3ebbddc9095c0ac4804ae (patch) | |
tree | 91fb62dd0c3a78dff2eaf1d0586397a0031682d5 /plugins | |
parent | e5a93ee2a305c87ab128dfd166e735c6eeb77e43 (diff) |
Update Pool and WorkerWatcher interfaces
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/http/plugin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/http/plugin.go b/plugins/http/plugin.go index 144148af..4d64ac6d 100644 --- a/plugins/http/plugin.go +++ b/plugins/http/plugin.go @@ -306,7 +306,7 @@ func (s *Plugin) Workers() []worker.BaseProcess { workers := s.pool.Workers() baseWorkers := make([]worker.BaseProcess, 0, len(workers)) for i := 0; i < len(workers); i++ { - baseWorkers = append(baseWorkers, worker.FromSync(workers[i])) + baseWorkers = append(baseWorkers, worker.FromSync(workers[i].(*worker.SyncWorkerImpl))) } return baseWorkers } |