diff options
author | Alex Auvolat <alex@adnab.me> | 2022-03-15 12:04:12 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-03-23 10:25:15 +0100 |
commit | c1d9854d2c5998adcad60784ec54659113c28a9f (patch) | |
tree | cb6bd08213ac4b97f91f9bb9ffb83244d5180e97 /src/api | |
parent | 8565f7dc314f194ba85e9a0c8a021b9565c22e36 (diff) | |
download | garage-c1d9854d2c5998adcad60784ec54659113c28a9f.tar.gz garage-c1d9854d2c5998adcad60784ec54659113c28a9f.zip |
Move block manager to separate module
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/Cargo.toml | 1 | ||||
-rw-r--r-- | src/api/s3_put.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/api/Cargo.toml b/src/api/Cargo.toml index d61a986f..5e96b081 100644 --- a/src/api/Cargo.toml +++ b/src/api/Cargo.toml @@ -16,6 +16,7 @@ path = "lib.rs" [dependencies] garage_model = { version = "0.7.0", path = "../model" } garage_table = { version = "0.7.0", path = "../table" } +garage_block = { version = "0.7.0", path = "../block" } garage_util = { version = "0.7.0", path = "../util" } base64 = "0.13" diff --git a/src/api/s3_put.rs b/src/api/s3_put.rs index 08e490ae..ed0bf00b 100644 --- a/src/api/s3_put.rs +++ b/src/api/s3_put.rs @@ -13,7 +13,7 @@ use garage_util::data::*; use garage_util::error::Error as GarageError; use garage_util::time::*; -use garage_model::block::INLINE_THRESHOLD; +use garage_block::manager::INLINE_THRESHOLD; use garage_model::block_ref_table::*; use garage_model::garage::Garage; use garage_model::object_table::*; |