mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Also allow None for memory
This commit is contained in:
@@ -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},
|
||||
|
||||
Reference in New Issue
Block a user