migrate: code style, use up to 100cc if it helps to reduce line-bloat

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-09-22 09:26:18 +02:00
parent 95b3583b5e
commit f8830c4d6e

View File

@ -345,11 +345,7 @@ sub prepare {
$targetsid = PVE::QemuServer::map_storage($self->{opts}->{storagemap}, $sid);
}
my $target_scfg = PVE::Storage::storage_check_enabled(
$storecfg,
$targetsid,
$self->{node},
);
my $target_scfg = PVE::Storage::storage_check_enabled($storecfg, $targetsid, $self->{node});
my ($vtype) = PVE::Storage::parse_volname($storecfg, $volid);
die "$volid: content type '$vtype' is not available on storage '$targetsid'\n"