mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 10:36:24 +05:00
Fix redis GetKeysForPrefix
This commit is contained in:
@@ -82,7 +82,7 @@ func (rs *RedisStorage) Flush(ignore string) error {
|
||||
}
|
||||
|
||||
func (rs *RedisStorage) GetKeysForPrefix(prefix string) ([]string, error) {
|
||||
r := rs.db.Cmd("KEYS", "*")
|
||||
r := rs.db.Cmd("KEYS", prefix+"*")
|
||||
if r.Err != nil {
|
||||
return nil, r.Err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user