mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-21 02:16:37 +00:00
WIP
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@ pub async fn rpc_call(
|
||||
let status = sys.status.borrow().clone();
|
||||
match status.nodes.get(to) {
|
||||
Some(status) => status.addr.clone(),
|
||||
None => return Err(Error::Message(format!("Peer ID not found"))),
|
||||
None => return Err(Error::Message(format!("Peer ID not found: {:?}", to))),
|
||||
}
|
||||
};
|
||||
sys.rpc_client.call(&addr, msg, timeout).await
|
||||
|
||||
Reference in New Issue
Block a user