From cd53b41b4983c3f24738c36a1e5ce84e02856ace Mon Sep 17 00:00:00 2001 From: Jordan Bradford <36420801+jrdnbradford@users.noreply.github.com> Date: Thu, 14 Nov 2024 23:17:32 -0500 Subject: [PATCH] Also allow `None` for memory --- tljh/config_schema.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tljh/config_schema.py b/tljh/config_schema.py index f86d321..4a17f13 100644 --- a/tljh/config_schema.py +++ b/tljh/config_schema.py @@ -80,7 +80,12 @@ config_schema = { "type": "object", "additionalProperties": False, "properties": { - "memory": {"type": "string"}, + "memory": { + "anyOf": [ + {"type": "string"}, + {"type": "null"}, + ] + }, "cpu": { "anyOf": [ {"type": "number", "minimum": 0},