aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/rpc_client.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-12-17 21:09:50 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-12-17 21:09:50 +0100
commitccda9ab1caa6e20c81a9a41449c60ed6a7799659 (patch)
treeb95141749fef43df530e708ec5789320389a596c /src/rpc/rpc_client.rs
parent086e5be290b329b898206397ad95c82964fbf499 (diff)
parent8956db2a81c3700b62c5208cff2ca4b0b124c328 (diff)
downloadgarage-ccda9ab1caa6e20c81a9a41449c60ed6a7799659.tar.gz
garage-ccda9ab1caa6e20c81a9a41449c60ed6a7799659.zip
Merge branch 'master' into feature/website
Diffstat (limited to 'src/rpc/rpc_client.rs')
-rw-r--r--src/rpc/rpc_client.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rpc/rpc_client.rs b/src/rpc/rpc_client.rs
index 6119696d..5183bb4b 100644
--- a/src/rpc/rpc_client.rs
+++ b/src/rpc/rpc_client.rs
@@ -61,7 +61,7 @@ pub struct RpcClient<M: RpcMessage> {
local_handler: ArcSwapOption<(UUID, LocalHandlerFn<M>)>,
- pub rpc_addr_client: RpcAddrClient<M>,
+ rpc_addr_client: RpcAddrClient<M>,
}
impl<M: RpcMessage + 'static> RpcClient<M> {
@@ -215,8 +215,8 @@ impl<M: RpcMessage + 'static> RpcClient<M> {
pub struct RpcAddrClient<M: RpcMessage> {
phantom: PhantomData<M>,
- pub http_client: Arc<RpcHttpClient>,
- pub path: String,
+ http_client: Arc<RpcHttpClient>,
+ path: String,
}
impl<M: RpcMessage> RpcAddrClient<M> {