mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-18 23:43:48 +02:00
Fix a crash when reloading a project with Docker
This commit is contained in:
parent
9bdc0b78eb
commit
786f9c87c9
@ -82,8 +82,14 @@ DOCKER_CREATE_SCHEMA = {
|
|||||||
"description": "Docker environment variables",
|
"description": "Docker environment variables",
|
||||||
"type": ["string", "null"],
|
"type": ["string", "null"],
|
||||||
"minLength": 0,
|
"minLength": 0,
|
||||||
|
},
|
||||||
|
"container_id": {
|
||||||
|
"description": "Docker container ID Read only",
|
||||||
|
"type": "string",
|
||||||
|
"minLength": 12,
|
||||||
|
"maxLength": 64,
|
||||||
|
"pattern": "^[a-f0-9]+$"
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
"additionalProperties": False,
|
"additionalProperties": False,
|
||||||
"required": ["name", "image"]
|
"required": ["name", "image"]
|
||||||
|
Loading…
Reference in New Issue
Block a user