summaryrefslogtreecommitdiff
path: root/plugins/memory/kv.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/memory/kv.go')
-rw-r--r--plugins/memory/kv.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/memory/kv.go b/plugins/memory/kv.go
index 3cec1f97..68ea7266 100644
--- a/plugins/memory/kv.go
+++ b/plugins/memory/kv.go
@@ -6,7 +6,6 @@ import (
"time"
"github.com/spiral/errors"
- kv "github.com/spiral/roadrunner/v2/common/kv"
"github.com/spiral/roadrunner/v2/plugins/config"
"github.com/spiral/roadrunner/v2/plugins/logger"
kvv1 "github.com/spiral/roadrunner/v2/proto/kv/v1beta"
@@ -21,7 +20,7 @@ type Driver struct {
cfg *Config
}
-func NewInMemoryDriver(log logger.Logger, key string, cfgPlugin config.Configurer, stop chan struct{}) (kv.Storage, error) {
+func NewInMemoryDriver(log logger.Logger, key string, cfgPlugin config.Configurer, stop chan struct{}) (*Driver, error) {
const op = errors.Op("new_in_memory_driver")
d := &Driver{