From: Dietmar Maurer Date: Sat, 30 Apr 2016 09:50:55 +0000 (+0200) Subject: SectionConfig.pm: sort type enum X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=08aa41d725b273fcee950f84540987b6d9551a8f SectionConfig.pm: sort type enum So that we can better detect API changes. --- diff --git a/src/PVE/SectionConfig.pm b/src/PVE/SectionConfig.pm index 6f85b22..441e026 100644 --- a/src/PVE/SectionConfig.pm +++ b/src/PVE/SectionConfig.pm @@ -184,7 +184,7 @@ sub init { } $propertyList->{type}->{type} = 'string'; - $propertyList->{type}->{enum} = [keys %$plugins]; + $propertyList->{type}->{enum} = [sort keys %$plugins]; } sub lookup {