Fix AZ List Detail schema to allow hosts as None

List AZ with Details response can return host as None
for non available AZ from nova.

But response schema [1] always expect host as non-None
value which is not true for non available AZ on nova side.

Change-Id: I015ea26eb47ef179d55f3e452e871bfeec406365
Closes-Bug: #1662781
This commit is contained in:
ghanshyam 2017-02-08 06:53:42 +00:00
parent c4b26209ad
commit 77b3eb15b1
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ base = {
}
detail = {
'type': 'object',
'type': ['object', 'null'],
'patternProperties': {
# NOTE: Here is for a hostname
'^[a-zA-Z0-9-_.]+$': {