From a7f30ebf27348ece696bb14e95f0ac5bd248e437 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Sat, 30 Apr 2016 12:01:20 +0200 Subject: [PATCH] SectionConfig: sort values return by lookup_types They are use to generate type enums in the API. --- src/PVE/SectionConfig.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.2