aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/layout/manager.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-12-11 16:09:22 +0100
committerAlex Auvolat <alex@adnab.me>2023-12-11 16:09:22 +0100
commit0041b013a473e3ae72f50209d8f79db75a72848b (patch)
tree7b44d731b86d14369bcef1a65cdc87a8538c484b /src/rpc/layout/manager.rs
parentadccce1145d5d82581e4a5da707be35badb2d5a6 (diff)
downloadgarage-0041b013a473e3ae72f50209d8f79db75a72848b.tar.gz
garage-0041b013a473e3ae72f50209d8f79db75a72848b.zip
layout: refactoring and fix in layout helpernlnet-task3
Diffstat (limited to 'src/rpc/layout/manager.rs')
-rw-r--r--src/rpc/layout/manager.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/layout/manager.rs b/src/rpc/layout/manager.rs
index ec8a2a15..6747b79d 100644
--- a/src/rpc/layout/manager.rs
+++ b/src/rpc/layout/manager.rs
@@ -256,7 +256,7 @@ impl LayoutManager {
// ---- RPC HANDLERS ----
- pub(crate) fn handle_advertise_status(self: &Arc<Self>, from: Uuid, remote: &LayoutDigest) {
+ pub(crate) fn handle_advertise_status(self: &Arc<Self>, from: Uuid, remote: &RpcLayoutDigest) {
let local = self.layout().digest();
if remote.current_version > local.current_version
|| remote.active_versions != local.active_versions