api2/admin/datastore/catar.rs: simplify/fix debug message
This commit is contained in:
parent
44c00c0dfd
commit
f02e6fc478
@ -67,8 +67,7 @@ fn upload_catar(
|
|||||||
let backup_id = tools::required_string_param(¶m, "id")?;
|
let backup_id = tools::required_string_param(¶m, "id")?;
|
||||||
let backup_time = tools::required_integer_param(¶m, "time")?;
|
let backup_time = tools::required_integer_param(¶m, "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"))?;
|
||||||
|
Loading…
Reference in New Issue
Block a user