summaryrefslogtreecommitdiff
path: root/plugins/redis/kv.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/redis/kv.go')
-rw-r--r--plugins/redis/kv.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/redis/kv.go b/plugins/redis/kv.go
index 2e4b9bfd..29f89d46 100644
--- a/plugins/redis/kv.go
+++ b/plugins/redis/kv.go
@@ -8,7 +8,6 @@ import (
"github.com/go-redis/redis/v8"
"github.com/spiral/errors"
"github.com/spiral/roadrunner/v2/plugins/config"
- "github.com/spiral/roadrunner/v2/plugins/kv"
"github.com/spiral/roadrunner/v2/plugins/logger"
kvv1 "github.com/spiral/roadrunner/v2/proto/kv/v1beta"
"github.com/spiral/roadrunner/v2/utils"
@@ -20,7 +19,7 @@ type Driver struct {
cfg *Config
}
-func NewRedisDriver(log logger.Logger, key string, cfgPlugin config.Configurer) (kv.Storage, error) {
+func NewRedisDriver(log logger.Logger, key string, cfgPlugin config.Configurer) (*Driver, error) {
const op = errors.Op("new_boltdb_driver")
d := &Driver{