]> git.proxmox.com Git - pve-installer.git/commit
auto-installer: answer: deny unknown fields
authorAaron Lauterer <a.lauterer@proxmox.com>
Wed, 17 Apr 2024 12:31:03 +0000 (14:31 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 22 Apr 2024 12:31:37 +0000 (14:31 +0200)
commit20c927b707a1290fd3bc596c253d29623a614943
treecbdf60c0facb28ab2564791dd4c1169ca16dad84
parenteedc6521ce0af46d8235c66e7debe057df6ae6f9
auto-installer: answer: deny unknown fields

This way, serde will throw errors if fields are not known.

This can help to reduce frustration if one might think to have set an
option, but for example a small type has happened.

Tested-by: Christoph Heiss <c.heiss@proxmox.com>
Reviewed-by: Christoph Heiss <c.heiss@proxmox.com>
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
proxmox-auto-installer/src/answer.rs