From 901c40591968c9cd54536ff9a449161805a48308 Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Tue, 25 Oct 2022 10:18:18 +0200 Subject: [PATCH] Fix the inta-snapshot typos in the tests --- index-scheduler/src/snapshot.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index-scheduler/src/snapshot.rs b/index-scheduler/src/snapshot.rs index 5d7eeccad..49d0ab76d 100644 --- a/index-scheduler/src/snapshot.rs +++ b/index-scheduler/src/snapshot.rs @@ -144,7 +144,7 @@ pub fn snapshot_task(task: &Task) -> String { snap.push_str(&format!("error: {error:?}, ")); } if let Some(details) = details { - snap.push_str(&format!("details: {}, ", &snaphsot_details(details))); + snap.push_str(&format!("details: {}, ", &snapshot_details(details))); } snap.push_str(&format!("kind: {kind:?}")); @@ -152,7 +152,7 @@ pub fn snapshot_task(task: &Task) -> String { snap } -fn snaphsot_details(d: &Details) -> String { +fn snapshot_details(d: &Details) -> String { match d { Details::DocumentAdditionOrUpdate { received_documents,