Commit 2aae436c authored by Dietmar Maurer's avatar Dietmar Maurer

use numeric sorting in startall

parent 712588a4
...@@ -938,10 +938,11 @@ __PACKAGE__->register_method ({ ...@@ -938,10 +938,11 @@ __PACKAGE__->register_method ({
my $startList = &$get_start_stop_list($nodename, 1); my $startList = &$get_start_stop_list($nodename, 1);
foreach my $order (sort keys %$startList) { # Note: use numeric sorting with <=>
foreach my $order (sort sort {$a <=> $b} keys %$startList) {
my $vmlist = $startList->{$order}; my $vmlist = $startList->{$order};
foreach my $vmid (sort keys %$vmlist) { foreach my $vmid (sort {$a <=> $b} keys %$vmlist) {
my $d = $vmlist->{$vmid}; my $d = $vmlist->{$vmid};
PVE::Cluster::check_cfs_quorum(); # abort when we loose quorum PVE::Cluster::check_cfs_quorum(); # abort when we loose quorum
......
pve-manager (2.1-9) unstable; urgency=low
* use numeric sorting in startall
-- Proxmox Support Team <support@proxmox.com> Tue, 05 Jun 2012 06:16:06 +0200
pve-manager (2.1-8) unstable; urgency=low pve-manager (2.1-8) unstable; urgency=low
* also list pools with VM.Allocate permissions * also list pools with VM.Allocate permissions
......
...@@ -2,7 +2,7 @@ RELEASE=2.1 ...@@ -2,7 +2,7 @@ RELEASE=2.1
VERSION=2.1 VERSION=2.1
PACKAGE=pve-manager PACKAGE=pve-manager
PACKAGERELEASE=8 PACKAGERELEASE=9
BINDIR=${DESTDIR}/usr/bin BINDIR=${DESTDIR}/usr/bin
PERLLIBDIR=${DESTDIR}/usr/share/perl5 PERLLIBDIR=${DESTDIR}/usr/share/perl5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment