Commit 6716b5b7 authored by Heinz N. Gies's avatar Heinz N. Gies

Fix naming of manifest file

parent 5921b424
......@@ -240,6 +240,8 @@ pub fn import(config: &Config, uuid: Uuid) -> Result<i32, Box<Error>> {
}
let mut cfg_path = config.settings.image_dir.clone();
cfg_path.push('/');
cfg_path.push_str(config.settings.pool.replace("/", "-").as_str());
cfg_path.push('-');
cfg_path.push_str(uuid_str.as_str());
cfg_path.push_str(".json");
println!("Writing manifest file: {}", cfg_path);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment