mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-11 19:26:46 +00:00
fix coding style
This commit is contained in:
parent
be19058305
commit
29b1952991
@ -1050,7 +1050,7 @@ sub print_drivedevice_full {
|
||||
my $path = '';
|
||||
if (drive_is_cdrom($drive)) {
|
||||
$devicetype = 'cd';
|
||||
} else {
|
||||
} else {
|
||||
if ($drive->{file} =~ m|^/|) {
|
||||
$path = $drive->{file};
|
||||
} else {
|
||||
@ -1058,10 +1058,9 @@ sub print_drivedevice_full {
|
||||
}
|
||||
|
||||
if($path =~ m/^iscsi\:\/\//){
|
||||
$devicetype = 'generic';
|
||||
}
|
||||
else {
|
||||
$devicetype = 'block' if path_is_scsi($path);
|
||||
$devicetype = 'generic';
|
||||
} else {
|
||||
$devicetype = 'block' if path_is_scsi($path);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user