From 5759d38624a43ed591bd53e9c0c56a38eb003eaa Mon Sep 17 00:00:00 2001 From: Gustav Davidsson Date: Mon, 16 Sep 2024 13:50:05 -0700 Subject: A couple of error message nits --- pingora-cache/src/eviction/lru.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pingora-cache/src/eviction/lru.rs') 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 EvictionManager for Manager { 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::, BError>(buffer) }) -- cgit v1.2.3