diff options
Diffstat (limited to 'utils/lru.go')
-rw-r--r-- | utils/lru.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/lru.go b/utils/lru.go index f5f7959d8..41ba72d71 100644 --- a/utils/lru.go +++ b/utils/lru.go @@ -68,7 +68,7 @@ func (c *Cache) Add(key, value interface{}) bool { return c.AddWithExpiresInSecs(key, value, 0) } -// Add adds a value to the cache. Returns true if an eviction occured. +// Add adds a value to the cache. Returns true if an eviction occurred. func (c *Cache) AddWithExpiresInSecs(key, value interface{}, expireAtSecs int64) bool { c.lock.Lock() defer c.lock.Unlock() |