summaryrefslogtreecommitdiff
path: root/plugins/informer/tests/test_plugin.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-21 14:27:27 +0300
committerGitHub <[email protected]>2020-12-21 14:27:27 +0300
commit0ad45031047bb479e06ce0a0f496c6db9b2641c9 (patch)
tree26f4b6e453739bc8e0e4fe26f05b899f5d3a5cce /plugins/informer/tests/test_plugin.go
parent8543980775e5f8b12e5e200a0764052cdb4350a5 (diff)
parent960395df42b379c55c095dbed2378bfe20869c83 (diff)
Merge pull request #459 from spiral/plugin/redisv2.0.0-alpha26
plugin/redis [reopen]
Diffstat (limited to 'plugins/informer/tests/test_plugin.go')
-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