mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-19 22:20:37 +00:00
chore: fix clippy lints 2024-12-06 (#10138)
This commit is contained in:
@@ -6873,10 +6873,7 @@ impl Service {
|
||||
let mut plan = Vec::new();
|
||||
|
||||
for (node_id, attached) in nodes_by_load {
|
||||
let available = locked
|
||||
.nodes
|
||||
.get(&node_id)
|
||||
.map_or(false, |n| n.is_available());
|
||||
let available = locked.nodes.get(&node_id).is_some_and(|n| n.is_available());
|
||||
if !available {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user