From a0fd0c5f7c8c5e9a45e75e7751576aa107cbb3bb Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Sat, 23 Jan 2021 23:46:09 +0300 Subject: Fix golangci-lint warnings --- tests/plugins/server/plugin_pipes.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/plugins') diff --git a/tests/plugins/server/plugin_pipes.go b/tests/plugins/server/plugin_pipes.go index f53b228f..5b2cdd96 100644 --- a/tests/plugins/server/plugin_pipes.go +++ b/tests/plugins/server/plugin_pipes.go @@ -7,7 +7,6 @@ import ( "github.com/spiral/errors" "github.com/spiral/roadrunner/v2/pkg/payload" "github.com/spiral/roadrunner/v2/pkg/pool" - poolImpl "github.com/spiral/roadrunner/v2/pkg/pool" "github.com/spiral/roadrunner/v2/pkg/worker" "github.com/spiral/roadrunner/v2/plugins/config" "github.com/spiral/roadrunner/v2/plugins/server" @@ -16,12 +15,12 @@ import ( const ConfigSection = "server" const Response = "test" -var testPoolConfig = poolImpl.Config{ +var testPoolConfig = pool.Config{ NumWorkers: 10, MaxJobs: 100, AllocateTimeout: time.Second * 10, DestroyTimeout: time.Second * 10, - Supervisor: &poolImpl.SupervisorConfig{ + Supervisor: &pool.SupervisorConfig{ WatchTick: 60, TTL: 1000, IdleTTL: 10, -- cgit v1.2.3