about summary refs log tree commit diff
path: root/tvix/castore/src/composition.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-11-09T17·12+0000
committerflokli <flokli@flokli.de>2024-11-11T18·46+0000
commit8400e523ceaa143c107f51e321263268d1048d7c (patch)
tree386597802b46183be0caf97862f921e85a4bbf96 /tvix/castore/src/composition.rs
parenta218f421b2e4694d350e262d8cd52775359bca26 (diff)
refactor(tvix/castore/blob): use near/far for CombinedBlobService r/8903
Align this naming with CachePathInfoService.

Change-Id: Ib9a0d73b8ca57a93e9fc027ae907fc6ed370842a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12751
Tested-by: BuildkiteCI
Reviewed-by: yuka <yuka@yuka.dev>
Diffstat (limited to 'tvix/castore/src/composition.rs')
-rw-r--r--tvix/castore/src/composition.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/tvix/castore/src/composition.rs b/tvix/castore/src/composition.rs
index e997152d60be..1cbf97e1893a 100644
--- a/tvix/castore/src/composition.rs
+++ b/tvix/castore/src/composition.rs
@@ -64,8 +64,8 @@
 //!   },
 //!   "root": {
 //!     "type": "combined",
-//!     "local": "blobstore1",
-//!     "remote": "blobstore2"
+//!     "near": "blobstore1",
+//!     "far": "blobstore2"
 //!   }
 //! });
 //!
@@ -555,13 +555,13 @@ mod test {
         let blob_services_configs_json = serde_json::json!({
             "root": {
                 "type": "combined",
-                "local": "other",
-                "remote": "other"
+                "near": "other",
+                "far": "other"
             },
             "other": {
                 "type": "combined",
-                "local": "root",
-                "remote": "root"
+                "near": "root",
+                "far": "root"
             }
         });