From 08aa41d725b273fcee950f84540987b6d9551a8f Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Sat, 30 Apr 2016 11:50:55 +0200 Subject: [PATCH] SectionConfig.pm: sort type enum So that we can better detect API changes. --- 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 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 { -- 2.39.2