Made the provider list mandatory
Change-Id: I418acae29e7a4ed9ad21098a914f91a8396906eb
This commit is contained in:
parent
454fb692c7
commit
a1287b4351
|
@ -33,6 +33,7 @@ class FlavorSchema(schema_base.SchemaBase):
|
|||
},
|
||||
"providers": {
|
||||
"type": "array",
|
||||
"required": True,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -61,7 +62,7 @@ class FlavorSchema(schema_base.SchemaBase):
|
|||
}
|
||||
}
|
||||
},
|
||||
"minItems": 0
|
||||
"minItems": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,9 +49,5 @@
|
|||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"no_providers": {
|
||||
"id" : "asia",
|
||||
"providers" : []
|
||||
}
|
||||
}
|
|
@ -31,5 +31,9 @@
|
|||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"empty_provider_list": {
|
||||
"id" : "empty_providers",
|
||||
"providers" : []
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue