]> git.ipfire.org Git - ipfire.org.git/commitdiff
fireinfo: Allow empty root_size
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 13 Feb 2024 17:18:22 +0000 (17:18 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 13 Feb 2024 17:18:22 +0000 (17:18 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/backend/fireinfo.py

index a81e75331dc99a5f6dddae78f1370ec56d927146..e13517cb4bcdb00ccbdbb9b9d682d1e456322493 100644 (file)
@@ -234,7 +234,7 @@ PROFILE_SCHEMA = {
                                        "pattern" : r"^.{,80}$",
                                },
                                "root_size" : {
-                                       "type" : "number",
+                                       "type" : ["number", "null"],
                                },
                                "vendor" : {
                                        "type"    : ["string", "null"],