[pdm-devel] [PATCH datacenter-manager] ui: pve: guests: actually use diskread/write for disk io graphs

Dominik Csapak d.csapak at proxmox.com
Thu Dec 19 13:41:25 CET 2024


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 ui/src/pve/lxc.rs  | 4 ++--
 ui/src/pve/qemu.rs | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ui/src/pve/lxc.rs b/ui/src/pve/lxc.rs
index 73671c6..c43ac9e 100644
--- a/ui/src/pve/lxc.rs
+++ b/ui/src/pve/lxc.rs
@@ -415,8 +415,8 @@ impl yew::Component for LxcanelComp {
                                         v.to_string()
                                     }
                                 })
-                                .serie0(Some(self.netin.clone()))
-                                .serie1(Some(self.netout.clone())),
+                                .serie0(Some(self.diskread.clone()))
+                                .serie1(Some(self.diskwrite.clone())),
                         ),
                 ),
             )
diff --git a/ui/src/pve/qemu.rs b/ui/src/pve/qemu.rs
index b886be2..4fe85cc 100644
--- a/ui/src/pve/qemu.rs
+++ b/ui/src/pve/qemu.rs
@@ -423,8 +423,8 @@ impl yew::Component for QemuPanelComp {
                                         v.to_string()
                                     }
                                 })
-                                .serie0(Some(self.netin.clone()))
-                                .serie1(Some(self.netout.clone())),
+                                .serie0(Some(self.diskread.clone()))
+                                .serie1(Some(self.diskwrite.clone())),
                         ),
                 ),
             )
-- 
2.39.5





More information about the pdm-devel mailing list