NLnet task 3 #667

Merged
lx merged 60 commits from nlnet-task3 into next-0.10 2024-01-11 10:58:08 +00:00
Showing only changes of commit 7ef2c23120 - Show all commits

View file

@ -35,7 +35,7 @@ fn check_against_naive(cl: &LayoutVersion) -> Result<bool, Error> {
}
for uuid in cl.nongateway_nodes() {
let z = cl.get_node_zone(&uuid)?;
let c = cl.get_node_capacity(&uuid)?;
let c = cl.get_node_capacity(&uuid).unwrap();
zone_token.insert(
z.to_string(),
zone_token[z] + min(NB_PARTITIONS, (c / over_size) as usize),