summaryrefslogtreecommitdiff
path: root/tests/plugins/redis
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/redis')
-rw-r--r--tests/plugins/redis/plugin1.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/plugins/redis/plugin1.go b/tests/plugins/redis/plugin1.go
index e50213e5..68da1394 100644
--- a/tests/plugins/redis/plugin1.go
+++ b/tests/plugins/redis/plugin1.go
@@ -14,8 +14,10 @@ type Plugin1 struct {
}
func (p *Plugin1) Init(redis redisPlugin.Redis) error {
- p.redisClient = redis.GetClient()
- return nil
+ var err error
+ p.redisClient, err = redis.RedisClient("redis")
+
+ return err
}
func (p *Plugin1) Serve() chan error {