[pve-devel] [PATCH manager+common 0/2] drop custom node config parser

Wolfgang Bumiller w.bumiller at proxmox.com
Thu Mar 17 11:26:00 CET 2022


This extends PVE::JSONSchema::parse_config to have an optional "comment
key" to collect comments into and drops the node config parser and its
custom check_type helper to instead use the common parser.

And while I'm at it, I also add the return schema for get_config, since
I see no obvious reason not to.
We do have the 'property' parameter to filter out a specific config
property, but given that the fields are all optional anyway the schema
still matches regardless.





More information about the pve-devel mailing list