diff options
author | Valery Piashchynski <[email protected]> | 2020-12-21 14:25:41 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-12-21 14:25:41 +0300 |
commit | 960395df42b379c55c095dbed2378bfe20869c83 (patch) | |
tree | ae85337454b5f68efe1eed10640ac2d837612d7c /plugins/http/tests/plugin_middleware.go | |
parent | 7b32b6b93576ec72b4b7fdf2068e655f869e9cf8 (diff) |
Remove config2 alias
Diffstat (limited to 'plugins/http/tests/plugin_middleware.go')
-rw-r--r-- | plugins/http/tests/plugin_middleware.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/http/tests/plugin_middleware.go b/plugins/http/tests/plugin_middleware.go index 224d4117..9003c0ad 100644 --- a/plugins/http/tests/plugin_middleware.go +++ b/plugins/http/tests/plugin_middleware.go @@ -3,14 +3,14 @@ package tests import ( "net/http" - config2 "github.com/spiral/roadrunner/v2/interfaces/config" + "github.com/spiral/roadrunner/v2/interfaces/config" ) type PluginMiddleware struct { - config config2.Configurer + config config.Configurer } -func (p *PluginMiddleware) Init(cfg config2.Configurer) error { +func (p *PluginMiddleware) Init(cfg config.Configurer) error { p.config = cfg return nil } @@ -34,10 +34,10 @@ func (p *PluginMiddleware) Name() string { } type PluginMiddleware2 struct { - config config2.Configurer + config config.Configurer } -func (p *PluginMiddleware2) Init(cfg config2.Configurer) error { +func (p *PluginMiddleware2) Init(cfg config.Configurer) error { p.config = cfg return nil } |