mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-04-30 18:46:02 +00:00
file restore: qemu helper: run rustfmt
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com> [T: fix commit subject ] Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
950fba5a47
commit
b4b230fdff
@ -195,7 +195,9 @@ pub(crate) async fn hotplug_memory(cid: i32, dimm_mb: usize) -> Result<(), Error
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn debug_mode() -> bool {
|
pub fn debug_mode() -> bool {
|
||||||
std::env::var("PBS_QEMU_DEBUG").map(|s| !s.is_empty()).unwrap_or(false)
|
std::env::var("PBS_QEMU_DEBUG")
|
||||||
|
.map(|s| !s.is_empty())
|
||||||
|
.unwrap_or(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn start_vm(
|
pub async fn start_vm(
|
||||||
|
Loading…
Reference in New Issue
Block a user