mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-07-09 09:14:18 +00:00
fixed bug 662, wrong subroutine for parsing startup order
Changed from old, now missing, subroutine parse_startup() to new pve_parse_startup_order() in qemu-server and pve-manager Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
f1f7ea886a
commit
38f7f26c44
@ -4404,7 +4404,7 @@ sub vm_stop {
|
||||
$conf = load_config($vmid);
|
||||
check_lock($conf) if !$skiplock;
|
||||
if (!defined($timeout) && $shutdown && $conf->{startup}) {
|
||||
my $opts = parse_startup($conf->{startup});
|
||||
my $opts = PVE::JSONSchema::pve_parse_startup_order($conf->{startup});
|
||||
$timeout = $opts->{down} if $opts->{down};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user