aboutsummaryrefslogtreecommitdiff
path: root/src/admin_rpc.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-04-23 14:40:59 +0000
committerAlex Auvolat <alex@adnab.me>2020-04-23 14:40:59 +0000
commit2fe82be3bcb326af04c4c862431237c576ed1152 (patch)
tree5535f595b6a7e879f9998a9abcd8f19d9d92640d /src/admin_rpc.rs
parent37f880bc09bc4d9eb6aaeaec299a8d1d2043f674 (diff)
downloadgarage-2fe82be3bcb326af04c4c862431237c576ed1152.tar.gz
garage-2fe82be3bcb326af04c4c862431237c576ed1152.zip
RPC to ourself do not pass through serialization + HTTPS
Diffstat (limited to 'src/admin_rpc.rs')
-rw-r--r--src/admin_rpc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/admin_rpc.rs b/src/admin_rpc.rs
index aa6bd82e..458df360 100644
--- a/src/admin_rpc.rs
+++ b/src/admin_rpc.rs
@@ -172,7 +172,7 @@ impl AdminRpcHandler {
if self
.rpc_client
.call(
- node,
+ *node,
AdminRPC::LaunchRepair(opt_to_send.clone()),
ADMIN_RPC_TIMEOUT,
)