]> git.proxmox.com Git - pve-manager.git/commit
backup: fix #2913 order jobs numerically by VMID
authorAaron Lauterer <a.lauterer@proxmox.com>
Tue, 4 Aug 2020 09:46:38 +0000 (11:46 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 11 Aug 2020 11:48:19 +0000 (13:48 +0200)
commiteb0021502a5164a588ff051f8a440ff5364ea76c
tree002ee0df86044c03e09683f92932927694153139
parent01fc36722d8ed89df43bb4dc90761ef008ea7955
backup: fix #2913 order jobs numerically by VMID

At this point, the VMIDs are already numerically sorted by the
PVE::VZDump::check_vmids method. Calling another sort on the array,
especially without `{$a <=> $b}`, resulted in reordering the array
alphabetically.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
PVE/VZDump.pm