mirror of
https://git.deuxfleurs.fr/Deuxfleurs/garage.git
synced 2024-11-25 09:31:00 +00:00
Try to fix clippy
This commit is contained in:
parent
5d065b8a0f
commit
322dafc761
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@ impl RpcHelper {
|
||||||
let mut nodes = nodes
|
let mut nodes = nodes
|
||||||
.iter()
|
.iter()
|
||||||
.map(|to| {
|
.map(|to| {
|
||||||
let peer_zone = match ring.layout.node_role(&to) {
|
let peer_zone = match ring.layout.node_role(to) {
|
||||||
Some(pc) => &pc.zone,
|
Some(pc) => &pc.zone,
|
||||||
None => "",
|
None => "",
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue