]> git.proxmox.com Git - pve-common.git/commit - src/PVE/SectionConfig.pm
SectionConfig: parse_config: add errors to result
authorFabian Ebner <f.ebner@proxmox.com>
Mon, 21 Dec 2020 13:48:19 +0000 (14:48 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 21 Dec 2020 14:48:16 +0000 (15:48 +0100)
commit4b32ef6e2cc0c6c9719b2ef160bd51b1dd0f7683
tree241569b006b05d62d82471b271a99c34d5237d23
parentad3ec2bb7c918b7ff8b6290e40fc74dc0a3096c4
SectionConfig: parse_config: add errors to result

so that callers can know about them. This is useful in places where we'd rather
abort then continue with a faulty configuration. For example, when reading the
storage configuration before executing a backup job.

Originally-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/SectionConfig.pm