Put missing fields to validation schema
Field use_autoconfig is missing in the cluster templates and node groups validation schema, so it should be added. Change-Id: Idaf25374dc0a668d413a852c001cc36ec2313afd Closes-bug: 1479035
This commit is contained in:
parent
18552b720b
commit
3281d1dc58
@ -90,7 +90,10 @@ CLUSTER_TEMPLATE_SCHEMA = {
|
|||||||
"type": ["string", "null"],
|
"type": ["string", "null"],
|
||||||
"format": "uuid"
|
"format": "uuid"
|
||||||
},
|
},
|
||||||
"shares": copy.deepcopy(shares.SHARE_SCHEMA)
|
"shares": copy.deepcopy(shares.SHARE_SCHEMA),
|
||||||
|
"use_autoconfig": {
|
||||||
|
"type": ["boolean", "null"],
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": False,
|
"additionalProperties": False,
|
||||||
"required": [
|
"required": [
|
||||||
|
@ -89,7 +89,10 @@ NODE_GROUP_TEMPLATE_SCHEMA = {
|
|||||||
"volume_local_to_instance": {
|
"volume_local_to_instance": {
|
||||||
"type": ["boolean", "null"]
|
"type": ["boolean", "null"]
|
||||||
},
|
},
|
||||||
"shares": copy.deepcopy(shares.SHARE_SCHEMA)
|
"shares": copy.deepcopy(shares.SHARE_SCHEMA),
|
||||||
|
"use_autoconfig": {
|
||||||
|
"type": ["boolean", "null"]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": False,
|
"additionalProperties": False,
|
||||||
"required": [
|
"required": [
|
||||||
|
Loading…
Reference in New Issue
Block a user