about summary refs log tree commit diff
path: root/tvix/store/src/pathinfoservice/grpc.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-01-12T10·18+0200
committerclbot <clbot@tvl.fyi>2024-01-12T20·37+0000
commitb59df53774acc654ea4b23f02ccf5529587bceff (patch)
treefa35191cd12dbca2478884616de2527eb89066e2 /tvix/store/src/pathinfoservice/grpc.rs
parent7d51193f7db8d6126ee2970eadf009a5d87b694f (diff)
refactor(tvix/store/pathinfoservice): make more generic r/7371
We don't need Arcs in most of the cases, we're fine with some container.

Change-Id: Ic4f8acb5b9d93e2b0923bb607463fb91e9d0e4fe
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10606
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Diffstat (limited to 'tvix/store/src/pathinfoservice/grpc.rs')
-rw-r--r--tvix/store/src/pathinfoservice/grpc.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/store/src/pathinfoservice/grpc.rs b/tvix/store/src/pathinfoservice/grpc.rs
index 4ec1467525..5754913331 100644
--- a/tvix/store/src/pathinfoservice/grpc.rs
+++ b/tvix/store/src/pathinfoservice/grpc.rs
@@ -159,8 +159,8 @@ mod tests {
             let router = server.add_service(
                 crate::proto::path_info_service_server::PathInfoServiceServer::new(
                     GRPCPathInfoServiceWrapper::new(Box::new(MemoryPathInfoService::new(
-                        gen_blob_service().into(),
-                        gen_directory_service().into(),
+                        gen_blob_service(),
+                        gen_directory_service(),
                     ))
                         as Box<dyn PathInfoService>),
                 ),