[pbs-devel] [PATCH pbs 1/6] quemu_helper: run rustfmt
Maximiliano Sandoval
m.sandoval at proxmox.com
Fri Jun 16 09:35:36 CEST 2023
Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
proxmox-file-restore/src/qemu_helper.rs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/proxmox-file-restore/src/qemu_helper.rs b/proxmox-file-restore/src/qemu_helper.rs
index 17784c28..6112822a 100644
--- a/proxmox-file-restore/src/qemu_helper.rs
+++ b/proxmox-file-restore/src/qemu_helper.rs
@@ -195,7 +195,9 @@ pub(crate) async fn hotplug_memory(cid: i32, dimm_mb: usize) -> Result<(), Error
}
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(
--
2.39.2
More information about the pbs-devel
mailing list