From a2ba8de5eb519f73044a9b1c66f087a5b65e3d45 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 18 Nov 2020 10:02:58 +0300 Subject: Add Reset --- plugins/server/tests/plugin_pipes.go | 4 ++-- plugins/server/tests/plugin_sockets.go | 4 ++-- plugins/server/tests/plugin_tcp.go | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/server') 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 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 diff --git a/plugins/server/tests/plugin_tcp.go b/plugins/server/tests/plugin_tcp.go index 39044577..89757a02 100644 --- a/plugins/server/tests/plugin_tcp.go +++ b/plugins/server/tests/plugin_tcp.go @@ -12,11 +12,11 @@ import ( type Foo3 struct { configProvider config.Configurer - wf server.WorkerFactory + wf server.Server pool roadrunner.Pool } -func (f *Foo3) Init(p config.Configurer, workerFactory server.WorkerFactory) error { +func (f *Foo3) Init(p config.Configurer, workerFactory server.Server) error { f.configProvider = p f.wf = workerFactory return nil -- cgit v1.2.3