aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-08-29 17:32:45 +0200
committerAlex Auvolat <alex@adnab.me>2022-08-29 17:32:45 +0200
commit322dafc761295df45c081183c5fc059a750a3249 (patch)
tree00780ff9570f279bf289e5d4d6f59f3e3f7de346 /src
parent5d065b8a0f66d7898746b4b419a1a55cfccc9bbf (diff)
downloadgarage-322dafc761295df45c081183c5fc059a750a3249.tar.gz
garage-322dafc761295df45c081183c5fc059a750a3249.zip
Try to fix clippy
Diffstat (limited to 'src')
-rw-r--r--src/rpc/rpc_helper.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/rpc_helper.rs b/src/rpc/rpc_helper.rs
index ddabd636..216fffd4 100644
--- a/src/rpc/rpc_helper.rs
+++ b/src/rpc/rpc_helper.rs
@@ -404,7 +404,7 @@ impl RpcHelper {
let mut nodes = nodes
.iter()
.map(|to| {
- let peer_zone = match ring.layout.node_role(&to) {
+ let peer_zone = match ring.layout.node_role(to) {
Some(pc) => &pc.zone,
None => "",
};