summaryrefslogtreecommitdiff
path: root/tests/plugins/informer
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-24 01:24:50 +0300
committerValery Piashchynski <[email protected]>2021-01-24 01:24:50 +0300
commit00f94201218079cf2ba3ebbddc9095c0ac4804ae (patch)
tree91fb62dd0c3a78dff2eaf1d0586397a0031682d5 /tests/plugins/informer
parente5a93ee2a305c87ab128dfd166e735c6eeb77e43 (diff)
Update Pool and WorkerWatcher interfaces
Diffstat (limited to 'tests/plugins/informer')
-rw-r--r--tests/plugins/informer/test_plugin.go2
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