From 960395df42b379c55c095dbed2378bfe20869c83 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Mon, 21 Dec 2020 14:25:41 +0300 Subject: Remove config2 alias --- plugins/server/plugin.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/server/plugin.go') diff --git a/plugins/server/plugin.go b/plugins/server/plugin.go index 580c1e10..9f3921e9 100644 --- a/plugins/server/plugin.go +++ b/plugins/server/plugin.go @@ -8,7 +8,7 @@ import ( "strings" "github.com/spiral/errors" - config2 "github.com/spiral/roadrunner/v2/interfaces/config" + "github.com/spiral/roadrunner/v2/interfaces/config" "github.com/spiral/roadrunner/v2/interfaces/events" "github.com/spiral/roadrunner/v2/interfaces/log" "github.com/spiral/roadrunner/v2/interfaces/pool" @@ -30,7 +30,7 @@ type Plugin struct { } // Init application provider. -func (server *Plugin) Init(cfg config2.Configurer, log log.Logger) error { +func (server *Plugin) Init(cfg config.Configurer, log log.Logger) error { const op = errors.Op("Init") err := cfg.UnmarshalKey(PluginName, &server.cfg) if err != nil { -- cgit v1.2.3