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:
zhanggang 2018-06-07 17:58:08 +08:00
parent 9cdb08cb7b
commit 8cec0bcdf2
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ volume = {
"required": ["size"],
"properties": {
"size": volume_size,
"required": True
"type": non_empty_string
}
}