Skip to content

Commit

Permalink
Prepare the image directory during checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
nviennot committed May 18, 2021
1 parent daf5cdb commit d098f3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cli/checkpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ pub fn do_checkpoint(opts: Checkpoint) -> Result<Stats> {
num_shards, passphrase_file.is_some(), cpu_budget.into());

let store = image_url.store();
store.prepare(true)?;
let shard_upload_cmds = shard::upload_cmds(
&img_manifest, passphrase_file.as_ref(), &*store)?;

Expand Down

0 comments on commit d098f3f

Please sign in to comment.