mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-07-09 18:24:26 +00:00
whitespace fixup
This commit is contained in:
parent
7cd9f6d77e
commit
f6306646d8
@ -538,7 +538,7 @@ __PACKAGE__->register_method ({
|
|||||||
type => 'boolean',
|
type => 'boolean',
|
||||||
description => 'Print a parsed representation of the extracted OVF parameters, but do not create a VM',
|
description => 'Print a parsed representation of the extracted OVF parameters, but do not create a VM',
|
||||||
optional => 1,
|
optional => 1,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
returns => { type => 'string'},
|
returns => { type => 'string'},
|
||||||
@ -589,7 +589,7 @@ __PACKAGE__->register_method ({
|
|||||||
my $firstdisk = PVE::QemuServer::resolve_first_disk($conf);
|
my $firstdisk = PVE::QemuServer::resolve_first_disk($conf);
|
||||||
$conf->{bootdisk} = $firstdisk if $firstdisk;
|
$conf->{bootdisk} = $firstdisk if $firstdisk;
|
||||||
PVE::QemuConfig->write_config($vmid, $conf);
|
PVE::QemuConfig->write_config($vmid, $conf);
|
||||||
};
|
};
|
||||||
|
|
||||||
my $err = $@;
|
my $err = $@;
|
||||||
if ($err) {
|
if ($err) {
|
||||||
@ -597,7 +597,6 @@ __PACKAGE__->register_method ({
|
|||||||
eval { PVE::QemuServer::vm_destroy($storecfg, $vmid, $skiplock); };
|
eval { PVE::QemuServer::vm_destroy($storecfg, $vmid, $skiplock); };
|
||||||
die "import failed - $err";
|
die "import failed - $err";
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
my $wait_for_lock = 1;
|
my $wait_for_lock = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user