diff options
author | Valery Piashchynski <[email protected]> | 2021-01-23 23:46:09 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-23 23:46:09 +0300 |
commit | a0fd0c5f7c8c5e9a45e75e7751576aa107cbb3bb (patch) | |
tree | 6c7c2bd425c27891c7b8070711cb37a2c2a0e7ae /plugins/server/interface.go | |
parent | 134277f8d60287c0907843788a654b4667e892ad (diff) |
Fix golangci-lint warnings
Diffstat (limited to 'plugins/server/interface.go')
-rw-r--r-- | plugins/server/interface.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/server/interface.go b/plugins/server/interface.go index fe04b85b..22f02685 100644 --- a/plugins/server/interface.go +++ b/plugins/server/interface.go @@ -6,7 +6,6 @@ import ( "github.com/spiral/roadrunner/v2/pkg/events" "github.com/spiral/roadrunner/v2/pkg/pool" - poolImpl "github.com/spiral/roadrunner/v2/pkg/pool" "github.com/spiral/roadrunner/v2/pkg/worker" ) @@ -17,5 +16,5 @@ type Env map[string]string type Server interface { CmdFactory(env Env) (func() *exec.Cmd, error) NewWorker(ctx context.Context, env Env, listeners ...events.Listener) (*worker.Process, error) - NewWorkerPool(ctx context.Context, opt poolImpl.Config, env Env, listeners ...events.Listener) (pool.Pool, error) + NewWorkerPool(ctx context.Context, opt pool.Config, env Env, listeners ...events.Listener) (pool.Pool, error) } |