mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-11-02 15:18:42 +00:00
cargo fmt/format variable inlining
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
ce9b00e7e3
commit
87005234c6
@ -1,5 +1,5 @@
|
||||
use std::process::Command;
|
||||
use std::os::unix::prelude::OsStrExt;
|
||||
use std::process::Command;
|
||||
|
||||
use anyhow::{bail, format_err, Error};
|
||||
use serde_json::Value;
|
||||
|
||||
@ -636,7 +636,7 @@ fn restore_list_worker(
|
||||
Err(err) => {
|
||||
task_warn!(worker, "couldn't parse snapshot {snapshot} - {err}");
|
||||
continue;
|
||||
},
|
||||
}
|
||||
_ => continue,
|
||||
};
|
||||
let snapshot = print_ns_and_snapshot(&ns, &dir);
|
||||
@ -1838,13 +1838,12 @@ pub fn fast_catalog_restore(
|
||||
Err(BlockReadError::EndOfFile) => {
|
||||
task_log!(
|
||||
worker,
|
||||
"skip unexpected filemark at pos {}",
|
||||
current_file_number
|
||||
"skip unexpected filemark at pos {current_file_number}"
|
||||
);
|
||||
continue;
|
||||
}
|
||||
Err(BlockReadError::EndOfStream) => {
|
||||
task_log!(worker, "detected EOT after {} files", current_file_number);
|
||||
task_log!(worker, "detected EOT after {current_file_number} files");
|
||||
break;
|
||||
}
|
||||
Err(BlockReadError::Error(err)) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user