update reva, replace go-micro redis store plugin

This commit is contained in:
Michael Barz
2023-05-08 17:31:31 +02:00
parent aed04c983f
commit be8d253b82
4 changed files with 16 additions and 8 deletions
+4
View File
@@ -3,6 +3,7 @@ package redis
import (
"context"
"errors"
"fmt"
"time"
@@ -113,6 +114,9 @@ func (r *rkv) Read(key string, opts ...store.ReadOption) ([]*store.Record, error
}
if len(keys) == 1 {
if errors.Is(err, redis.Nil) {
return records, store.ErrNotFound
}
return records, err
}