]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Allow some nulls in the configuration JSON
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 29 Nov 2023 23:13:22 +0000 (17:13 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 29 Nov 2023 23:13:22 +0000 (17:13 -0600)
commit63e71946db91119417b94bd09ea6829d8f11f84a
tree94395d44f9f193be55b4c387ff6cd70d0ed52f74
parentf44a2ba335b933c46691824b06bd1378773da6fc
Allow some nulls in the configuration JSON

While playing with the configuration sample, I found out that setting
a `null` slurm property in the JSON was rejected, even though the SLURM
file itself is not mandatory.

So rethink this, and for a few other fields as well.
src/config.c
src/config/str.c
src/config/types.h