This commit is contained in:
Eric Loza 2018-08-02 21:13:45 -03:00
parent cc2fc92276
commit 641988a992
1 changed files with 1 additions and 1 deletions

View File

@ -948,7 +948,7 @@ func (c *cache) DeleteExpired() {
}
}
// Delete the keys with some prefix from the cache
// Delete the keys with a prefix from the cache
func (c *cache) DeleteByPrefix(prefix string) {
var evictedItems []keyAndValue
c.mu.Lock()