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. _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel