[pve-devel] [PATCH pve-manager 1/2] Fix report of Volumes which was never called

Emmanuel Kasper e.kasper at proxmox.com
Mon Dec 7 12:03:29 CET 2015


---
 PVE/Report.pm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/PVE/Report.pm b/PVE/Report.pm
index 4d15ef5..ff6eed3 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -38,11 +38,16 @@ my $general_report = {
 };
 
 my $storage_report = {
-    title => 'info about storage (lvm and zfs)',
+    title => 'info about storage',
     commands => \@storage,
 };
 
 my $volume_report = {
+    title => 'info about LVM and ZFS volumes',
+    commands => \@volumes,
+};
+
+my $machine_report = {
     title => 'info about virtual machines',
     commands => \@machines,
 };
@@ -62,7 +67,7 @@ my $bios_report = {
     commands => \@bios,
 };
 
-my @global_report = ($general_report, $storage_report, $volume_report, $net_report, $cluster_report, $bios_report);
+my @global_report = ($general_report, $storage_report, $volume_report, $machine_report, $net_report, $cluster_report, $bios_report);
 
 # output the content of all the files of a directory
 sub dir2text {
-- 
2.1.4





More information about the pve-devel mailing list