avoid nested parameter exception
This commit is contained in:
@ -180,7 +180,7 @@ my $real_volume_id = sub {
|
||||
if ($volume =~ m/:/) {
|
||||
eval {
|
||||
my ($sid, $volname) = PVE::Storage::parse_volume_id ($volume);
|
||||
raise_param_exc({ storage => "storage ID missmatch" })
|
||||
die "storage ID missmatch ($sid != $storeid)\n"
|
||||
if $storeid && $sid ne $storeid;
|
||||
$volid = $volume;
|
||||
$storeid = $sid;
|
||||
|
||||
Reference in New Issue
Block a user