From 8b7d723d564812a771e67e80f174d4be45b519b1 Mon Sep 17 00:00:00 2001 From: Adrien Guillo Date: Mon, 22 Jan 2024 09:25:01 -0500 Subject: [PATCH] Fix expect messages --- quickwit/quickwit-metastore/src/metastore_resolver.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickwit/quickwit-metastore/src/metastore_resolver.rs b/quickwit/quickwit-metastore/src/metastore_resolver.rs index 6d02387a5a2..efa0666cce8 100644 --- a/quickwit/quickwit-metastore/src/metastore_resolver.rs +++ b/quickwit/quickwit-metastore/src/metastore_resolver.rs @@ -136,7 +136,7 @@ impl MetastoreResolver { } builder .build() - .expect("Metastore factory and config backends should match.") + .expect("metastore factory and config backends should match") } } @@ -162,7 +162,7 @@ impl MetastoreResolverBuilder { for (metastore_factory, metastore_config) in self.per_protocol_factories.values() { ensure!( metastore_factory.backend() == metastore_config.backend(), - "Metastore factory and config backends do not match: {:?} vs. {:?}", + "metastore factory and config backends do not match: {:?} vs. {:?}", metastore_factory.backend(), metastore_config.backend(), );