From 0658d8ea0a4b435e56b954f079df48476012b033 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Fri, 25 Oct 2019 17:56:13 +0100 Subject: [PATCH] Sync moves to List --- redis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis.go b/redis.go index 1359657..579e28f 100644 --- a/redis.go +++ b/redis.go @@ -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