Add volume_type to apischema
Currently, trove had support pass volume_type during creation of instance/cluster, but the schema "volume" only contains the "size", it is nesscessary add the "type" to schema "volume". Besides, there is a "required: True" under "properities", it is unnecessary. Change-Id: Id7c4317b0ba62d751956ddb1baee70fe27bc15f4 Signed-off-by: zhanggang <zhanggang@cmss.chinamobile.com>
This commit is contained in:
parent
9cdb08cb7b
commit
8cec0bcdf2
|
@ -102,7 +102,7 @@ volume = {
|
|||
"required": ["size"],
|
||||
"properties": {
|
||||
"size": volume_size,
|
||||
"required": True
|
||||
"type": non_empty_string
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue