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",
|
"type": "object",
|
||||||
"additionalProperties": False,
|
"additionalProperties": False,
|
||||||
"properties": {
|
"properties": {
|
||||||
"memory": {"type": "string"},
|
"memory": {
|
||||||
|
"anyOf": [
|
||||||
|
{"type": "string"},
|
||||||
|
{"type": "null"},
|
||||||
|
]
|
||||||
|
},
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
{"type": "number", "minimum": 0},
|
{"type": "number", "minimum": 0},
|
||||||
|
|||||||
Reference in New Issue
Block a user