public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Stoiko Ivanov <s.ivanov@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH manager 2/2] report: stabilize order of guests and network
Date: Mon, 12 Sep 2022 15:37:38 +0200	[thread overview]
Message-ID: <20220912133738.3265925-3-s.ivanov@proxmox.com> (raw)
In-Reply-To: <20220912133738.3265925-1-s.ivanov@proxmox.com>

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@proxmox.com>
Signed-off-by: Stoiko Ivanov <s.ivanov@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





  parent reply	other threads:[~2022-09-12 13:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-12 13:37 [pve-devel] [PATCH manager 0/2] minor improvements to pvereport Stoiko Ivanov
2022-09-12 13:37 ` [pve-devel] [PATCH manager 1/2] report: add proxmox-boot-tool status output Stoiko Ivanov
2022-09-12 13:37 ` Stoiko Ivanov [this message]
2022-09-12 14:04 ` [pve-devel] applied-series: [PATCH manager 0/2] minor improvements to pvereport Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220912133738.3265925-3-s.ivanov@proxmox.com \
    --to=s.ivanov@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal