]> git.proxmox.com Git - pve-manager.git/commitdiff
pvereport: fix multipath inclusion
authorAaron Lauterer <a.lauterer@proxmox.com>
Mon, 21 Dec 2020 15:13:49 +0000 (16:13 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 21 Dec 2020 15:54:34 +0000 (16:54 +0100)
we now push it to the correct hash if it is installed

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
PVE/Report.pm

index a4a3d779ed731ba4b41d2b76943946b8641983dc..5ee3453df5b98d8ed6ac7bfd41d944ed601b9d5b 100644 (file)
@@ -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;
 };