fix typo
This commit is contained in:
parent
cc2fc92276
commit
641988a992
2
cache.go
2
cache.go
|
@ -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) {
|
func (c *cache) DeleteByPrefix(prefix string) {
|
||||||
var evictedItems []keyAndValue
|
var evictedItems []keyAndValue
|
||||||
c.mu.Lock()
|
c.mu.Lock()
|
||||||
|
|
Loading…
Reference in New Issue