summaryrefslogtreecommitdiff
path: root/plugins/server/tests/plugin_pipes.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-18 10:02:58 +0300
committerValery Piashchynski <[email protected]>2020-11-18 10:02:58 +0300
commita2ba8de5eb519f73044a9b1c66f087a5b65e3d45 (patch)
treedbcb1649a5ea8f7b50706ffc1cae775f1ef65b42 /plugins/server/tests/plugin_pipes.go
parent3cbdd3d3e44b3b4e72565d666391e3b732950774 (diff)
Add Reset
Diffstat (limited to 'plugins/server/tests/plugin_pipes.go')
-rw-r--r--plugins/server/tests/plugin_pipes.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/server/tests/plugin_pipes.go b/plugins/server/tests/plugin_pipes.go
index 840021eb..4d31138e 100644
--- a/plugins/server/tests/plugin_pipes.go
+++ b/plugins/server/tests/plugin_pipes.go
@@ -30,11 +30,11 @@ var testPoolConfig = roadrunner.PoolConfig{
type Foo struct {
configProvider config.Configurer
- wf server.WorkerFactory
+ wf server.Server
pool roadrunner.Pool
}
-func (f *Foo) Init(p config.Configurer, workerFactory server.WorkerFactory) error {
+func (f *Foo) Init(p config.Configurer, workerFactory server.Server) error {
f.configProvider = p
f.wf = workerFactory
return nil