api2/admin/datastore/catar.rs: simplify/fix debug message

This commit is contained in:
Dietmar Maurer 2019-02-15 10:04:37 +01:00
parent 44c00c0dfd
commit f02e6fc478

View File

@ -67,8 +67,7 @@ fn upload_catar(
let backup_id = tools::required_string_param(&param, "id")?; let backup_id = tools::required_string_param(&param, "id")?;
let backup_time = tools::required_integer_param(&param, "time")?; let backup_time = tools::required_integer_param(&param, "time")?;
println!("Upload {}.catar to {} ({}/{}/{}/{}.didx)", archive_name, store, println!("Upload {}/{}/{}/{}/{}", store, backup_type, backup_id, backup_time, archive_name);
backup_type, backup_id, backup_time, archive_name);
let content_type = parts.headers.get(http::header::CONTENT_TYPE) let content_type = parts.headers.get(http::header::CONTENT_TYPE)
.ok_or(format_err!("missing content-type header"))?; .ok_or(format_err!("missing content-type header"))?;