all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH pbs 1/6] quemu_helper: run rustfmt
@ 2023-06-16  7:35 Maximiliano Sandoval
  2023-06-16  7:35 ` [pbs-devel] [PATCH pbs 2/6] clippy fixes: the borrowed expression implements the required traits Maximiliano Sandoval
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Maximiliano Sandoval @ 2023-06-16  7:35 UTC (permalink / raw)
  To: pbs-devel

Signed-off-by: Maximiliano Sandoval <m.sandoval@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





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-06-16  8:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-16  7:35 [pbs-devel] [PATCH pbs 1/6] quemu_helper: run rustfmt Maximiliano Sandoval
2023-06-16  7:35 ` [pbs-devel] [PATCH pbs 2/6] clippy fixes: the borrowed expression implements the required traits Maximiliano Sandoval
2023-06-16  7:56   ` Thomas Lamprecht
2023-06-16  7:35 ` [pbs-devel] [PATCH pbs 3/6] clippy fixes: use of ok_or followed by a function call Maximiliano Sandoval
2023-06-16  7:35 ` [pbs-devel] [PATCH pbs 4/6] clippy fixes: casting to the same type is unnecessary Maximiliano Sandoval
2023-06-16  7:35 ` [pbs-devel] [PATCH pbs 5/6] clippy fixes: Box::new(_) of default value Maximiliano Sandoval
2023-06-16  7:35 ` [pbs-devel] [PATCH pbs 6/6] clippy fixes: deref which would be done by auto-deref Maximiliano Sandoval
2023-06-16  8:02 ` [pbs-devel] applied: [PATCH pbs 1/6] quemu_helper: run rustfmt Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal