mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-23 20:49:13 -05:00
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:
committed by
Ralf Haferkamp
parent
df5edec36b
commit
39950845d2
+5
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user