]> git.proxmox.com Git - pve-common.git/commitdiff
generate_typetext: avoid warning with aliases
authorDietmar Maurer <dietmar@proxmox.com>
Sun, 3 Apr 2016 14:09:07 +0000 (16:09 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Sun, 3 Apr 2016 14:09:07 +0000 (16:09 +0200)
src/PVE/PodParser.pm

index febcfd28349c5562448c6ce0f382801d6764c92b..116cc2564ce10265553dd9977914891718771664 100644 (file)
@@ -50,6 +50,7 @@ sub generate_typetext {
     my (@optional, @required);
     foreach my $key (sort keys %$schema) {
        my $entry = $schema->{$key};
     my (@optional, @required);
     foreach my $key (sort keys %$schema) {
        my $entry = $schema->{$key};
+       next if $entry->{alias};
        next if !$entry->{format_description} &&
                !$entry->{typetext} &&
                !$entry->{enum} &&
        next if !$entry->{format_description} &&
                !$entry->{typetext} &&
                !$entry->{enum} &&