Commit c21317dc authored by Alex Auvolat's avatar Alex Auvolat
Browse files

Branch out garage_model from 0.1.0 to fix incompatibility with garage_util 0.1.1

parent 3b0b1108
This diff is collapsed.
......@@ -4,8 +4,8 @@ members = [
"src/rpc",
"src/table",
"src/model",
"src/api",
"src/garage",
#"src/api",
#"src/garage",
]
[profile.dev]
......
[package]
name = "garage_model"
version = "0.1.0"
name = "garage_model_010b"
version = "0.0.1"
authors = ["Alex Auvolat <alex@adnab.me>"]
edition = "2018"
license = "GPL-3.0"
......
......@@ -123,7 +123,7 @@ impl BlockManager {
Message::PutBlock(m) => self.write_block(&m.hash, &m.data).await,
Message::GetBlock(h) => self.read_block(h).await,
Message::NeedBlockQuery(h) => self.need_block(h).await.map(Message::NeedBlockReply),
_ => Err(Error::BadRequest(format!("Unexpected RPC message"))),
_ => Err(Error::BadRPC(format!("Unexpected RPC message"))),
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment