aboutsummaryrefslogtreecommitdiff
path: root/src/table/table_sync.rs
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2020-11-11 11:26:51 +0100
committerQuentin <quentin@deuxfleurs.fr>2020-11-11 11:26:51 +0100
commite31aa0f7dfb4c8f014ce65cdf749141d2a9fec21 (patch)
tree286920418940dc40b679cdf71627d7fe276f0fc1 /src/table/table_sync.rs
parentf01006a1f954cecb23085ceac5ec28f165a6f0d7 (diff)
parent045009da9b7ac4198574bd5aa256c11cfe4ae469 (diff)
downloadgarage-e31aa0f7dfb4c8f014ce65cdf749141d2a9fec21.tar.gz
garage-e31aa0f7dfb4c8f014ce65cdf749141d2a9fec21.zip
Merge branch 'master' into feature/refactor-s3
Diffstat (limited to 'src/table/table_sync.rs')
-rw-r--r--src/table/table_sync.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/table/table_sync.rs b/src/table/table_sync.rs
index 145b3068..6c0df15b 100644
--- a/src/table/table_sync.rs
+++ b/src/table/table_sync.rs
@@ -474,7 +474,7 @@ where
todo.push_back(root_ck);
}
} else {
- return Err(Error::BadRequest(format!(
+ return Err(Error::Message(format!(
"Invalid respone to GetRootChecksumRange RPC: {}",
debug_serialize(root_cks_resp)
)));
@@ -530,7 +530,7 @@ where
self.send_items(who, items_to_send).await?;
}
} else {
- return Err(Error::BadRequest(format!(
+ return Err(Error::Message(format!(
"Unexpected response to sync RPC checksums: {}",
debug_serialize(&rpc_resp)
)));