From f0ba41a13592bdca08de71814a757ee59162eb83 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 15 Feb 2016 15:35:35 +0100 Subject: [PATCH 1/1] schema: error on missing keys without default keys --- src/PVE/JSONSchema.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm index 15e2c3c..0603f76 100644 --- a/src/PVE/JSONSchema.pm +++ b/src/PVE/JSONSchema.pm @@ -525,6 +525,7 @@ sub parse_property_string { die "duplicate key in comma-separated list property: $default_key\n"; } } + die "value without key, but schema does not define a default key\n" if !$default_key; } else { die "missing key in comma-separated list property\n"; } -- 2.39.2