Fix flush borrowing on checking operation
continuous-integration/drone the build failed
Details
continuous-integration/drone the build failed
Details
This commit is contained in:
parent
ea66727412
commit
6234022c0d
|
@ -168,8 +168,6 @@ fn wrapped_main() -> anyhow::Result<i32> {
|
|||
bail!("You need to specify either --shallow or --deep.");
|
||||
};
|
||||
|
||||
pile.flush()?;
|
||||
|
||||
if error_count > 0 {
|
||||
eprintln!("THERE ARE {} ERRORS.", error_count);
|
||||
return Ok(1);
|
||||
|
|
|
@ -239,6 +239,7 @@ pub fn check_deep<RP: RawPile>(
|
|||
pile.raw_pile.delete(Keyspace::Chunk, &vacuum_id)?;
|
||||
pbar.inc(1);
|
||||
}
|
||||
pile.flush()?;
|
||||
pbar.finish_and_clear();
|
||||
}
|
||||
}
|
||||
|
@ -389,6 +390,7 @@ pub fn check_shallow<RP: RawPile>(
|
|||
pile.raw_pile.delete(Keyspace::Chunk, &vacuum_id)?;
|
||||
pbar.inc(1);
|
||||
}
|
||||
pile.flush()?;
|
||||
pbar.finish_and_clear();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue