Fix redis GetKeysForPrefix

This commit is contained in:
DanB
2015-11-25 12:17:11 +01:00
parent 5b3ec719d5
commit 1c28ee0a67

View File

@@ -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
}