Bump go-micro/v4/store/redis to latest main commit

This includes these two fixes:
https://github.com/go-micro/plugins/pull/109
https://github.com/go-micro/plugins/pull/110
This commit is contained in:
Ralf Haferkamp
2023-05-10 15:14:36 +02:00
committed by Ralf Haferkamp
parent df5edec36b
commit 39950845d2
4 changed files with 10 additions and 9 deletions
+5
View File
@@ -5,6 +5,7 @@ import (
"context"
"errors"
"fmt"
"strings"
"time"
"github.com/go-redis/redis/v8"
@@ -179,6 +180,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 {