From 00f94201218079cf2ba3ebbddc9095c0ac4804ae Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Sun, 24 Jan 2021 01:24:50 +0300 Subject: Update Pool and WorkerWatcher interfaces --- tests/plugins/informer/test_plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3