diff options
Diffstat (limited to 'pingora-cache/src/eviction/simple_lru.rs')
-rw-r--r-- | pingora-cache/src/eviction/simple_lru.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pingora-cache/src/eviction/simple_lru.rs b/pingora-cache/src/eviction/simple_lru.rs index caa9293..6bb9a0d 100644 --- a/pingora-cache/src/eviction/simple_lru.rs +++ b/pingora-cache/src/eviction/simple_lru.rs @@ -248,7 +248,7 @@ impl EvictionManager for Manager { })?; let mut buffer = Vec::with_capacity(8192); file.read_to_end(&mut buffer) - .or_err(InternalError, "fail to write to {file_path}")?; + .or_err(InternalError, "fail to read from {file_path}")?; Ok::<Vec<u8>, BError>(buffer) }) .await |