createSchema: include type property
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 18 Sep 2015 06:51:09 +0000 (08:51 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 18 Sep 2015 06:51:09 +0000 (08:51 +0200)
src/PVE/SectionConfig.pm

index be13056eb1106468256fb05179f03b8b630d02b0..71d296e6574f7a11d47a67083a45c5188c1b4887 100644 (file)
@@ -68,7 +68,6 @@ sub createSchema {
     };
 
     foreach my $p (keys %$propertyList) {
-       next if $p eq 'type';
        if (!$propertyList->{$p}->{optional}) {
            $props->{$p} = $propertyList->{$p};
            next;