Skip to content

Commit

Permalink
Fix broken doc link in quickwit-storage
Browse files Browse the repository at this point in the history
In quickwit-oss#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.
  • Loading branch information
mgattozzi committed Aug 10, 2023
1 parent b8c563f commit a33c3b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickwit/quickwit-storage/src/storage_resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ pub struct StorageResolverBuilder {
}

impl StorageResolverBuilder {
/// Registers a [`StorageFactory`] and a [`StorageConfig`].
/// Registers a [`StorageFactory`].
pub fn register<S: StorageFactory>(mut self, storage_factory: S) -> Self {
self.per_backend_factories
.insert(storage_factory.backend(), Box::new(storage_factory));
Expand Down

0 comments on commit a33c3b6

Please sign in to comment.