mirror of
https://github.com/kataras/iris.git
synced 2026-01-24 12:25:57 +00:00
@@ -263,7 +263,12 @@ func (r *RadixDriver) getKeys(cursor, prefix string) ([]string, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
keys := res.keys[0:]
|
||||
if len(res.keys) <= 1 {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
keys := res.keys[1:] // the first one is always the session id itself.
|
||||
|
||||
if res.cur != "0" {
|
||||
moreKeys, err := r.getKeys(res.cur, prefix)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user