summaryrefslogtreecommitdiff
path: root/plugins/server/tests/plugin_sockets.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/server/tests/plugin_sockets.go')
-rw-r--r--plugins/server/tests/plugin_sockets.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/server/tests/plugin_sockets.go b/plugins/server/tests/plugin_sockets.go
index b12f4ead..4942d4c5 100644
--- a/plugins/server/tests/plugin_sockets.go
+++ b/plugins/server/tests/plugin_sockets.go
@@ -12,11 +12,11 @@ import (
type Foo2 struct {
configProvider config.Configurer
- wf server.WorkerFactory
+ wf server.Server
pool roadrunner.Pool
}
-func (f *Foo2) Init(p config.Configurer, workerFactory server.WorkerFactory) error {
+func (f *Foo2) Init(p config.Configurer, workerFactory server.Server) error {
f.configProvider = p
f.wf = workerFactory
return nil