pvereport: fix multipath inclusion

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

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
This commit is contained in:
Aaron Lauterer 2020-12-21 16:13:49 +01:00 committed by Thomas Lamprecht
parent 5a9b791b47
commit 662a87e559

View 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;
};