[pve-devel] [PATCH manager 2/2] report: stabilize order of guests and network

Stoiko Ivanov s.ivanov at proxmox.com
Mon Sep 12 15:37:38 CEST 2022


both categories have '40' as their order - leading to random swaps
between those 2 categories in the actual report.

I only increased the order of network, instead of renumerating all
succeeding categories by 10 (mostly for better readability of the
patch)

Suggested-by: Aaron Lauterer <a.lauterer at proxmox.com>
Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
 PVE/Report.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/Report.pm b/PVE/Report.pm
index 3c61c1e4..b8bceb24 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -68,7 +68,7 @@ my $init_report_cmds = sub {
 	    ],
 	},
 	network => {
-	    order => 40,
+	    order => 45,
 	    cmds => [
 		'ip -details -statistics address',
 		'ip -details -4 route show',
-- 
2.30.2






More information about the pve-devel mailing list