From a8a7cece1d20976652d1b0bbf7a3a9eb4ea03b98 Mon Sep 17 00:00:00 2001 From: Charles Hall Date: Tue, 4 Jun 2024 12:25:37 -0700 Subject: [PATCH] make stringified names mirror variant names --- src/observability.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/observability.rs b/src/observability.rs index 5e9f2d2d..054ee7a9 100644 --- a/src/observability.rs +++ b/src/observability.rs @@ -57,10 +57,10 @@ impl FoundIn { /// Returns a stringified representation of the current value fn as_str(&self) -> &'static str { match self { - FoundIn::Cache => "hit", - FoundIn::Database => "miss-database", - FoundIn::Remote => "miss-remote", - FoundIn::Nothing => "not-found", + FoundIn::Cache => "Cache", + FoundIn::Database => "Database", + FoundIn::Remote => "Remote", + FoundIn::Nothing => "Nothing", } }