diff --git a/v4/store/redis/redis.go b/v4/store/redis/redis.go index 4a755db9..df2f8607 100644 --- a/v4/store/redis/redis.go +++ b/v4/store/redis/redis.go @@ -4,6 +4,7 @@ package redis import ( "context" "fmt" + "strings" "time" "github.com/go-redis/redis/v8" @@ -175,6 +176,10 @@ func (r *rkv) List(opts ...store.ListOption) ([]string, error) { return nil, err } + for i, key := range keys { + keys[i] = strings.TrimPrefix(key, options.Table) + } + allKeys = append(allKeys, keys...) if cursor == 0 {