diff options
author | Alex Auvolat <alex@adnab.me> | 2020-04-09 18:43:53 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-04-09 18:43:53 +0200 |
commit | 1d786c2c663ac6f6e3e3ef52accd6e9eca049988 (patch) | |
tree | 813720a682fe7cf4947129020d73ccf4797d0c3a /src/rpc_client.rs | |
parent | 101444abb3967770ec378ee09f24eb2845dc091d (diff) | |
download | garage-1d786c2c663ac6f6e3e3ef52accd6e9eca049988.tar.gz garage-1d786c2c663ac6f6e3e3ef52accd6e9eca049988.zip |
Something works
Diffstat (limited to 'src/rpc_client.rs')
-rw-r--r-- | src/rpc_client.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc_client.rs b/src/rpc_client.rs index 7995cdfa..9c9726b1 100644 --- a/src/rpc_client.rs +++ b/src/rpc_client.rs @@ -106,7 +106,7 @@ impl RpcClient { let req = Request::builder() .method(Method::POST) .uri(uri) - .body(Body::from(rmp_serde::encode::to_vec_named(msg)?))?; + .body(Body::from(rmp_to_vec_all_named(msg)?))?; let resp_fut = self.client.request(req); let resp = tokio::time::timeout(timeout, resp_fut).await??; |