summaryrefslogtreecommitdiff
path: root/plugins/informer
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-21 14:25:41 +0300
committerValery Piashchynski <[email protected]>2020-12-21 14:25:41 +0300
commit960395df42b379c55c095dbed2378bfe20869c83 (patch)
treeae85337454b5f68efe1eed10640ac2d837612d7c /plugins/informer
parent7b32b6b93576ec72b4b7fdf2068e655f869e9cf8 (diff)
Remove config2 alias
Diffstat (limited to 'plugins/informer')
-rw-r--r--plugins/informer/tests/test_plugin.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/informer/tests/test_plugin.go b/plugins/informer/tests/test_plugin.go
index 80627801..31643952 100644
--- a/plugins/informer/tests/test_plugin.go
+++ b/plugins/informer/tests/test_plugin.go
@@ -4,7 +4,7 @@ import (
"context"
"time"
- config2 "github.com/spiral/roadrunner/v2/interfaces/config"
+ "github.com/spiral/roadrunner/v2/interfaces/config"
"github.com/spiral/roadrunner/v2/interfaces/server"
"github.com/spiral/roadrunner/v2/interfaces/worker"
poolImpl "github.com/spiral/roadrunner/v2/pkg/pool"
@@ -26,11 +26,11 @@ var testPoolConfig = poolImpl.Config{
// Gauge //////////////
type Plugin1 struct {
- config config2.Configurer
+ config config.Configurer
server server.Server
}
-func (p1 *Plugin1) Init(cfg config2.Configurer, server server.Server) error {
+func (p1 *Plugin1) Init(cfg config.Configurer, server server.Server) error {
p1.config = cfg
p1.server = server
return nil