]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/SectionConfig.pm
update changelog
[pve-common.git] / src / PVE / SectionConfig.pm
index 6f85b228b81ec82c77d64fbbbc8f0197e5274e01..3030f6018e024d804de705f3c29c204e6613f160 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 {
@@ -203,7 +203,7 @@ sub lookup_types {
 
     my $pdata = $class->private();
     
-    return [ keys %{$pdata->{plugins}} ];
+    return [ sort keys %{$pdata->{plugins}} ];
 }
 
 sub decode_value {