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 /tests/plugins | |
parent | e5a93ee2a305c87ab128dfd166e735c6eeb77e43 (diff) |
Update Pool and WorkerWatcher interfaces
Diffstat (limited to 'tests/plugins')
-rw-r--r-- | tests/plugins/informer/test_plugin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/informer/test_plugin.go b/tests/plugins/informer/test_plugin.go index 2e5af988..7436a7fb 100644 --- a/tests/plugins/informer/test_plugin.go +++ b/tests/plugins/informer/test_plugin.go @@ -58,7 +58,7 @@ func (p1 *Plugin1) Workers() []worker.BaseProcess { workers := p.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 |