Correct format of schema-image.json.
Correct the JSON format of schema-image.json. Fixes issues where glance-api won't start due to invalid JSON in this file. Fixes LP Bug #1003470. Change-Id: Ibacc49f2c45e233bd6ad25b3334e013acaae8339
This commit is contained in:
parent
9462474c14
commit
88f802027c
@ -1,14 +1,14 @@
|
|||||||
{
|
{
|
||||||
"type": {
|
"type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The type code for the image"
|
"description": "The type code for the image",
|
||||||
"required": true,
|
"required": true,
|
||||||
"enum": ["kernel", "ramdisk", "filesystem", "iso9660", "disk"]
|
"enum": ["kernel", "ramdisk", "filesystem", "iso9660", "disk"]
|
||||||
},
|
},
|
||||||
"format": {
|
"format": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The format code for the image"
|
"description": "The format code for the image",
|
||||||
"required": true,
|
"required": true,
|
||||||
"enum": ["raw", "vhd", "vmdk", "vdi", "qcow2", "qed"]
|
"enum": ["raw", "vhd", "vmdk", "vdi", "qcow2", "qed"]
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user