mirror of
https://git.deuxfleurs.fr/Deuxfleurs/garage.git
synced 2024-11-25 09:31:00 +00:00
layout: fix test
This commit is contained in:
parent
90e1619b1e
commit
7ef2c23120
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue