store: fix for never go-micro (#521)

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2020-04-08 16:34:27 +03:00
parent 89afc015f6
commit dfad852578

View File

@ -14,6 +14,10 @@ func (r *rkv) Init(...store.Option) error {
return nil return nil
} }
func (r *rkv) Close() error {
return r.Client.Close()
}
func (r *rkv) Read(key string, opts ...store.ReadOption) ([]*store.Record, error) { func (r *rkv) Read(key string, opts ...store.ReadOption) ([]*store.Record, error) {
records := make([]*store.Record, 0, 1) records := make([]*store.Record, 0, 1)