From: Fabian Grünbichler <f.gruenbich...@proxmox.com> fix the fix for #1024
Signed-off-by: Fabian Grünbichler <f.gruenbich...@proxmox.com> --- PVE/API2/Nodes.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm index eb1ef69b..8d828436 100644 --- a/PVE/API2/Nodes.pm +++ b/PVE/API2/Nodes.pm @@ -1278,7 +1278,7 @@ my $get_start_stop_list = sub { $startup->{order} = LONG_MAX if !defined($startup->{order}); $resList->{$startup->{order}}->{$vmid} = $startup; - $resList->{$startup->{order}}->{$vmid}->{type} = $conf->{type}; + $resList->{$startup->{order}}->{$vmid}->{type} = $vmlist->{$vmid}->{type}; } return $resList; @@ -1291,7 +1291,7 @@ my $remove_locks_on_startup = sub { foreach my $vmid (keys %$vmlist) { my $conf = $vmlist->{$vmid}->{conf}; - my $class = $conf->{class}; + my $class = $vmlist->{$vmid}->{class}; eval { if ($class->has_lock($conf, 'backup')) { -- 2.11.0 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel