about summary refs log tree commit diff
path: root/tvix/castore/src/directoryservice/object_store.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-11-09T13·16+0000
committerflokli <flokli@flokli.de>2024-11-11T18·46+0000
commitd505f03e005b87d315694a22a75c11205266ba7d (patch)
tree67efb1d5d1756e7dce67f95b877a92bd5004bc7e /tvix/castore/src/directoryservice/object_store.rs
parent8df919dcf04b5c2502f3a63b4d013669da5e70c1 (diff)
refactor(tvix/store/composition): rename 'default' to 'root' r/8899
This becomes the root of the composition. `default` implies we can
directly access anything else, which we cannot. `root` makes this more
understandable, and it's all internal only anyways.

Change-Id: I297511bc05a7c32c59510b9d192b40d1bd937b5f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12746
Reviewed-by: yuka <yuka@yuka.dev>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/castore/src/directoryservice/object_store.rs')
-rw-r--r--tvix/castore/src/directoryservice/object_store.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/castore/src/directoryservice/object_store.rs b/tvix/castore/src/directoryservice/object_store.rs
index 77578ec92f02..1916e59eacaa 100644
--- a/tvix/castore/src/directoryservice/object_store.rs
+++ b/tvix/castore/src/directoryservice/object_store.rs
@@ -64,7 +64,7 @@ impl ObjectStoreDirectoryService {
         let (object_store, path) = object_store::parse_url_opts(url, options)?;
 
         Ok(Self {
-            instance_name: "default".into(),
+            instance_name: "root".into(),
             object_store: Arc::new(object_store),
             base_path: path,
         })