aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/rpc_client.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-04-06 23:38:16 +0200
committerAlex Auvolat <alex@adnab.me>2021-04-27 16:44:01 +0200
commit16300bbd89235dfb5852413cd451535559664594 (patch)
treebc5b55da152788987c72dcd42d10409078daea27 /src/rpc/rpc_client.rs
parentf2e1fca658b55d60e6d7d19f0417397ba7104e62 (diff)
downloadgarage-16300bbd89235dfb5852413cd451535559664594.tar.gz
garage-16300bbd89235dfb5852413cd451535559664594.zip
remove useless comment
Diffstat (limited to 'src/rpc/rpc_client.rs')
-rw-r--r--src/rpc/rpc_client.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rpc/rpc_client.rs b/src/rpc/rpc_client.rs
index 261dec7a..53051cee 100644
--- a/src/rpc/rpc_client.rs
+++ b/src/rpc/rpc_client.rs
@@ -144,7 +144,6 @@ impl<M: RpcMessage + 'static> RpcClient<M> {
{
Err(rpc_error) => {
node_status.num_failures.fetch_add(1, Ordering::SeqCst);
- // TODO: Save failure info somewhere
Err(Error::from(rpc_error))
}
Ok(x) => x,