report: whitespace cleanup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-05-11 14:26:15 +02:00
parent 4befa0abe0
commit fb925d656a

View File

@ -77,8 +77,13 @@ my $init_report_cmds = sub {
], ],
}; };
push @{$report_def->{volumes}}, 'zpool status', 'zpool list -v', 'zfs list' if (cmd_exists('zfs')) {
if cmd_exists('zfs'); push @{$report_def->{volumes}},
'zpool status',
'zpool list -v',
'zfs list',
;
}
if (-e '/etc/ceph/ceph.conf') { if (-e '/etc/ceph/ceph.conf') {
push @{$report_def->{volumes}}, push @{$report_def->{volumes}},
@ -97,7 +102,8 @@ my $init_report_cmds = sub {
push @{$report_def->{disks}}, push @{$report_def->{disks}},
'cat /etc/multipath.conf', 'cat /etc/multipath.conf',
'cat /etc/multipath/wwids', 'cat /etc/multipath/wwids',
'multipath -ll'; 'multipath -ll',
;
} }
return $report_def; return $report_def;