Skip to content

Commit d098f3f

Browse files
committed
Prepare the image directory during checkpoint
1 parent daf5cdb commit d098f3f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cli/checkpoint.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ pub fn do_checkpoint(opts: Checkpoint) -> Result<Stats> {
141141
num_shards, passphrase_file.is_some(), cpu_budget.into());
142142

143143
let store = image_url.store();
144+
store.prepare(true)?;
144145
let shard_upload_cmds = shard::upload_cmds(
145146
&img_manifest, passphrase_file.as_ref(), &*store)?;
146147

0 commit comments

Comments
 (0)