Sync moves to List

This commit is contained in:
Asim Aslam 2019-10-25 17:56:13 +01:00 committed by Vasiliy Tolstov
parent 2766eceb32
commit 0658d8ea0a

View File

@ -64,7 +64,7 @@ func (r *rkv) Write(records ...*store.Record) error {
return nil
}
func (r *rkv) Sync() ([]*store.Record, error) {
func (r *rkv) List() ([]*store.Record, error) {
keys, err := r.Client.Keys("*").Result()
if err != nil {
return nil, err