forked from TrueCloudLab/frostfs-node
[#1494] *: Fix linter warnings
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
bbf8b8e74d
commit
f602d05b0a
5 changed files with 6 additions and 25 deletions
|
@ -82,10 +82,6 @@ func (c *ttlNetCache) remove(key interface{}) {
|
|||
c.cache.Remove(key)
|
||||
}
|
||||
|
||||
func (c *ttlNetCache) keys() []interface{} {
|
||||
return c.cache.Keys()
|
||||
}
|
||||
|
||||
// entity that provides LRU cache interface.
|
||||
type lruNetCache struct {
|
||||
cache *lru.Cache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue