]> git.proxmox.com Git - pve-common.git/commitdiff
SectionConfig.pm: sort type enum
authorDietmar Maurer <dietmar@proxmox.com>
Sat, 30 Apr 2016 09:50:55 +0000 (11:50 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Sat, 30 Apr 2016 09:50:55 +0000 (11:50 +0200)
So that we can better detect API changes.

src/PVE/SectionConfig.pm

index 6f85b228b81ec82c77d64fbbbc8f0197e5274e01..441e026fb1b3f98c75b3ac93d6546e11c15325fd 100644 (file)
@@ -184,7 +184,7 @@ sub init {
     }
 
     $propertyList->{type}->{type} = 'string';
-    $propertyList->{type}->{enum} = [keys %$plugins];
+    $propertyList->{type}->{enum} = [sort keys %$plugins];
 }
 
 sub lookup {