diff options
author | Gustav Davidsson <[email protected]> | 2024-09-16 13:50:05 -0700 |
---|---|---|
committer | Kevin Guthrie <[email protected]> | 2024-10-07 14:23:08 -0400 |
commit | 5759d38624a43ed591bd53e9c0c56a38eb003eaa (patch) | |
tree | 6d27faa34865f4dac15dfeab701f7beaf57f3234 /pingora-cache/src/eviction/lru.rs | |
parent | 8ae4ebbf02cb9cf429528e120425a298d7862e57 (diff) | |
download | pingora-5759d38624a43ed591bd53e9c0c56a38eb003eaa.tar.gz pingora-5759d38624a43ed591bd53e9c0c56a38eb003eaa.zip |
A couple of error message nits
Diffstat (limited to 'pingora-cache/src/eviction/lru.rs')
-rw-r--r-- | pingora-cache/src/eviction/lru.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pingora-cache/src/eviction/lru.rs b/pingora-cache/src/eviction/lru.rs index fa09fab..2ca9364 100644 --- a/pingora-cache/src/eviction/lru.rs +++ b/pingora-cache/src/eviction/lru.rs @@ -217,7 +217,7 @@ impl<const N: usize> EvictionManager for Manager<N> { let mut buffer = Vec::with_capacity(8192); file.read_to_end(&mut buffer) .or_err_with(InternalError, || { - err_str_path("fail to write to", &file_path) + err_str_path("fail to read from", &file_path) })?; Ok::<Vec<u8>, BError>(buffer) }) |