mirror of
https://git.proxmox.com/git/pve-common
synced 2025-07-27 18:36:34 +00:00
schema: error on missing keys without default keys
This commit is contained in:
parent
50ae94c97b
commit
f0ba41a135
@ -525,6 +525,7 @@ sub parse_property_string {
|
|||||||
die "duplicate key in comma-separated list property: $default_key\n";
|
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 {
|
} else {
|
||||||
die "missing key in comma-separated list property\n";
|
die "missing key in comma-separated list property\n";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user