diff options
Diffstat (limited to 'tvix/store/src/blobservice/from_addr.rs')
-rw-r--r-- | tvix/store/src/blobservice/from_addr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/blobservice/from_addr.rs b/tvix/store/src/blobservice/from_addr.rs index 761498041d9b..914e590033bb 100644 --- a/tvix/store/src/blobservice/from_addr.rs +++ b/tvix/store/src/blobservice/from_addr.rs @@ -11,7 +11,7 @@ use super::{BlobService, GRPCBlobService, MemoryBlobService, SledBlobService}; /// - `grpc+*://` ([GRPCBlobService]) /// /// See their [from_url] methods for more details about their syntax. -pub async fn from_addr(uri: &str) -> Result<Arc<dyn BlobService>, crate::Error> { +pub fn from_addr(uri: &str) -> Result<Arc<dyn BlobService>, crate::Error> { let url = Url::parse(uri).map_err(|e| { crate::Error::StorageError(format!("unable to parse url: {}", e.to_string())) })?; |