Update TwinProduction/gocache to v1.2.3
This commit is contained in:
4
vendor/github.com/TwinProduction/gocache/persistence.go
generated
vendored
4
vendor/github.com/TwinProduction/gocache/persistence.go
generated
vendored
@ -120,8 +120,8 @@ func (cache *Cache) ReadFromFile(path string) (int, error) {
|
||||
cache.tail = current
|
||||
cache.head = current
|
||||
} else {
|
||||
previous.next = current
|
||||
current.previous = previous
|
||||
previous.previous = current
|
||||
current.next = previous
|
||||
cache.head = current
|
||||
}
|
||||
previous = entries[i]
|
||||
|
Reference in New Issue
Block a user