Allow list_of_routes to be [] in config
This changes the schema validation to allow an empty list of routes to be specified in the configuration. Closes-Bug: #1792992 Change-Id: I808cdd9c352f3e0dd0b75b8b8b738b97d82da7c1
This commit is contained in:
parent
f73505895b
commit
acf646383b
|
@ -154,7 +154,7 @@ definitions:
|
|||
type: array
|
||||
items:
|
||||
$ref: "#/definitions/route"
|
||||
minItems: 1
|
||||
minItems: 0
|
||||
|
||||
nic_mapping:
|
||||
type: ["object", "null"]
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
other:
|
||||
- |
|
||||
The schema now allow the ``routes`` option to be an empty list. (Previously
|
||||
at least one route was was required.) Bug: `1792992
|
||||
<https://bugs.launchpad.net/os-net-config/+bug/1792992>_`.
|
Loading…
Reference in New Issue