From a33c3b65a585fd9a6f32ebafa04a42c887305825 Mon Sep 17 00:00:00 2001 From: Michael Gattozzi Date: Thu, 10 Aug 2023 17:17:16 +0000 Subject: [PATCH] Fix broken doc link in quickwit-storage In #3709 there was a refactor that removed `StorageConfig` from the scope of the changed file in this commit. This was fine as the function `register` in StorageResolveBuilder did not need it anymore. However, the docs alluded to registering both a factory and a config. When running `make build-docs` for a different change I ran into this causing the command to fail. This change updates the docs so that they can build properly again. --- quickwit/quickwit-storage/src/storage_resolver.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickwit/quickwit-storage/src/storage_resolver.rs b/quickwit/quickwit-storage/src/storage_resolver.rs index f5754c089b6..b9d5af2b666 100644 --- a/quickwit/quickwit-storage/src/storage_resolver.rs +++ b/quickwit/quickwit-storage/src/storage_resolver.rs @@ -130,7 +130,7 @@ pub struct StorageResolverBuilder { } impl StorageResolverBuilder { - /// Registers a [`StorageFactory`] and a [`StorageConfig`]. + /// Registers a [`StorageFactory`]. pub fn register(mut self, storage_factory: S) -> Self { self.per_backend_factories .insert(storage_factory.backend(), Box::new(storage_factory));