]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/JSONSchema.pm
Add AbstractConfig base class
[pve-common.git] / src / PVE / JSONSchema.pm
index 15e2c3c5bda6d9c34e6288684dad421628b2e59a..0603f7601fb6a40f138a82a59824a2a07ed57287 100644 (file)
@@ -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";
        }