From: Dietmar Maurer Date: Sat, 30 Apr 2016 10:01:20 +0000 (+0200) Subject: SectionConfig: sort values return by lookup_types X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=a7f30ebf27348ece696bb14e95f0ac5bd248e437 SectionConfig: sort values return by lookup_types They are use to generate type enums in the API. --- diff --git a/src/PVE/SectionConfig.pm b/src/PVE/SectionConfig.pm index 441e026..3030f60 100644 --- a/src/PVE/SectionConfig.pm +++ b/src/PVE/SectionConfig.pm @@ -203,7 +203,7 @@ sub lookup_types { my $pdata = $class->private(); - return [ keys %{$pdata->{plugins}} ]; + return [ sort keys %{$pdata->{plugins}} ]; } sub decode_value {