diff options
author | Valery Piashchynski <[email protected]> | 2021-02-11 14:06:10 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-02-11 14:06:10 +0300 |
commit | 8f6cafdc0948a5ea13bf9a811b576aa4b3ef7e4a (patch) | |
tree | 92727c3ff8087597bac65eee2c26c9484c98be7f /tests/plugins/informer/test_plugin.go | |
parent | 7978c59f0ed286912bfcaec81b76e54532b1a9bf (diff) | |
parent | 509abc76a0f7b88678de67843ca79d9052ad8dd6 (diff) |
Merge pull request #530 from spiral/release_stabilizationv2.0.0-RC.1
stabilization(RC): rc stabilization
Diffstat (limited to 'tests/plugins/informer/test_plugin.go')
-rw-r--r-- | tests/plugins/informer/test_plugin.go | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/plugins/informer/test_plugin.go b/tests/plugins/informer/test_plugin.go index 2300de89..8a1fb933 100644 --- a/tests/plugins/informer/test_plugin.go +++ b/tests/plugins/informer/test_plugin.go @@ -55,11 +55,5 @@ func (p1 *Plugin1) Workers() []worker.BaseProcess { panic(err) } - workers := p.Workers() - baseWorkers := make([]worker.BaseProcess, 0, len(workers)) - for i := 0; i < len(workers); i++ { - baseWorkers = append(baseWorkers, worker.FromSync(workers[i].(*worker.SyncWorkerImpl))) - } - - return baseWorkers + return p.Workers() } |