[pve-devel] [PATCH manager 1/3] pvereport: fix multipath inclusion

Aaron Lauterer a.lauterer at proxmox.com
Mon Dec 21 16:13:49 CET 2020


we now push it to the correct hash if it is installed

Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
---
 PVE/Report.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/PVE/Report.pm b/PVE/Report.pm
index a4a3d779..5ee3453d 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -79,7 +79,8 @@ my $init_report_cmds = sub {
 	push @{$report_def->{volumes}}, 'ceph status', 'ceph osd status', 'ceph df', 'pveceph status', 'pveceph pool ls';
     }
 
-    push @{$report_def->{disk}}, 'multipath -ll', 'multipath -v3' if cmd_exists('multipath');
+    push @{$report_def->{disks}}, 'multipath -ll', 'multipath -v3'
+	if cmd_exists('multipath');
 
     return $report_def;
 };
-- 
2.20.1






More information about the pve-devel mailing list