diff options
author | Alex Auvolat <alex@adnab.me> | 2023-12-11 15:31:47 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-12-11 15:31:47 +0100 |
commit | 85b5a6bcd11c0a7651e4c589569e1935a3d18e46 (patch) | |
tree | 5aabcc8e161dfb304514e23e59f9ccf5a52a6d0a /src/rpc/rpc_helper.rs | |
parent | e4f493b48156e6e30f16fba10f300f6cb5fe0b0d (diff) | |
download | garage-85b5a6bcd11c0a7651e4c589569e1935a3d18e46.tar.gz garage-85b5a6bcd11c0a7651e4c589569e1935a3d18e46.zip |
fix some clippy lints
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 65af8901..77a36ca1 100644 --- a/src/rpc/rpc_helper.rs +++ b/src/rpc/rpc_helper.rs @@ -442,7 +442,7 @@ impl RpcHelper { // Send one request to each peer of the quorum sets let msg = msg.into_req().map_err(netapp::error::Error::from)?; - let requests = result_tracker.nodes.iter().map(|(peer, _)| { + let requests = result_tracker.nodes.keys().map(|peer| { let self2 = self.clone(); let msg = msg.clone(); let endpoint2 = endpoint.clone(); |