diff options
author | Florian Klink <flokli@flokli.de> | 2024-05-10T11·01+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-05-11T13·55+0000 |
commit | 03af6ab72517c811f3a1143d13522e22823c3a05 (patch) | |
tree | f3396c9555afe01e3d540d0744f7d8072dc0ddc7 /tvix/store/src/pathinfoservice/from_addr.rs | |
parent | 14766cfe1d41495f1c5aaec297c0e87756f0ff31 (diff) |
refactor(tvix/store/pathinfo/memory): drop {blob,directory}_service r/8104
These are not used anymore. Change-Id: I6c16b4d80ddaabcb75fec3ea3e32b923b7719485 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11620 Tested-by: BuildkiteCI Reviewed-by: Connor Brewster <cbrewster@hey.com> Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/store/src/pathinfoservice/from_addr.rs')
-rw-r--r-- | tvix/store/src/pathinfoservice/from_addr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/pathinfoservice/from_addr.rs b/tvix/store/src/pathinfoservice/from_addr.rs index f22884ca47ad..492457ae5ba0 100644 --- a/tvix/store/src/pathinfoservice/from_addr.rs +++ b/tvix/store/src/pathinfoservice/from_addr.rs @@ -47,7 +47,7 @@ pub async fn from_addr( if url.has_host() || !url.path().is_empty() { return Err(Error::StorageError("invalid url".to_string())); } - Box::new(MemoryPathInfoService::new(blob_service, directory_service)) + Box::<MemoryPathInfoService>::default() } "sled" => { // sled doesn't support host, and a path can be provided (otherwise |