Keys in the skip-list don't need to be valid schema keys.
This was overly strict before which makes it harder to
include temporary internal keys in a such an object.
+ * print_property_string: skip keys early
+
-- Proxmox Support Team <support@proxmox.com> Thu, 26 Nov 2015 08:09:04 +0100
libpve-common-perl (4.0-38) unstable; urgency=medium
-- Proxmox Support Team <support@proxmox.com> Thu, 26 Nov 2015 08:09:04 +0100
libpve-common-perl (4.0-38) unstable; urgency=medium
}
foreach my $key (sort keys %$data) {
}
foreach my $key (sort keys %$data) {
- die "invalid key: $key" if !$allowed{$key};
delete $required{$key};
next if $skipped{$key};
delete $required{$key};
next if $skipped{$key};
+ die "invalid key: $key" if !$allowed{$key};
my $typeformat = $format->{$key}->{format};
my $value = $data->{$key};
my $typeformat = $format->{$key}->{format};
my $value = $data->{$key};