From 2289890bade3f346a540631245d5c52fa1e08392 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 12 May 2016 07:25:51 +0200 Subject: [PATCH 1/1] print_property_string: correctly implement skip parameter --- src/PVE/JSONSchema.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) = @_; -- 2.39.2