From: Michael Tremer Date: Thu, 25 Jan 2024 10:59:30 +0000 (+0000) Subject: fireinfo: Allow NULL for more fields X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02400f58d1a123be5386d387ef405f1205e1f598;p=ipfire.org.git fireinfo: Allow NULL for more fields Signed-off-by: Michael Tremer --- diff --git a/src/backend/fireinfo.py b/src/backend/fireinfo.py index bfbc673a..a81e7533 100644 --- a/src/backend/fireinfo.py +++ b/src/backend/fireinfo.py @@ -123,7 +123,7 @@ PROFILE_SCHEMA = { "type" : "number", }, "stepping" : { - "type" : "integer", + "type" : ["integer", "null"], }, "vendor" : { "type" : "string", @@ -237,7 +237,7 @@ PROFILE_SCHEMA = { "type" : "number", }, "vendor" : { - "type" : "string", + "type" : ["string", "null"], "pattern" : r"^.{,80}$", }, "virtual" : {