From: Dietmar Maurer Date: Thu, 12 May 2016 05:25:51 +0000 (+0200) Subject: print_property_string: correctly implement skip parameter X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=2289890bade3f346a540631245d5c52fa1e08392 print_property_string: correctly implement skip parameter --- diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm index f70bf97..f90d98c 100644 --- a/src/PVE/JSONSchema.pm +++ b/src/PVE/JSONSchema.pm @@ -1593,7 +1593,7 @@ sub print_property_string { } }; - my $done = {}; + my $done = { map { $_ => 1 } @$skip }; my $cond_add_key = sub { my ($key) = @_;