diff options
author | Alex Auvolat <alex@adnab.me> | 2021-10-21 17:41:21 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-10-21 17:43:42 +0200 |
commit | dbe457d3fa2b2d83e57ffdd55a18046688494de0 (patch) | |
tree | b97e07f1d3ef5e046d3334bd135740ad6b9c5268 /src/rpc/rpc_helper.rs | |
parent | bff5333c622ce5c8c3a151b4bd2d7ad2d04004c2 (diff) | |
download | garage-dbe457d3fa2b2d83e57ffdd55a18046688494de0.tar.gz garage-dbe457d3fa2b2d83e57ffdd55a18046688494de0.zip |
Improve clarity0.4-alpha
Diffstat (limited to 'src/rpc/rpc_helper.rs')
-rw-r--r-- | src/rpc/rpc_helper.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/rpc_helper.rs b/src/rpc/rpc_helper.rs index 7413508e..8c7cc681 100644 --- a/src/rpc/rpc_helper.rs +++ b/src/rpc/rpc_helper.rs @@ -203,7 +203,7 @@ impl RpcHelper { Ok(results) } else { let errors = errors.iter().map(|e| format!("{}", e)).collect::<Vec<_>>(); - Err(Error::Quorum(results.len(), to.len(), errors)) + Err(Error::Quorum(quorum, results.len(), to.len(), errors)) } } } |