Merge "text_list attributes could be empty"
This commit is contained in:
commit
8253c39562
|
@ -282,16 +282,16 @@ ALLOWED_VALUES_SCHEMA = {
|
|||
MULTIPLE_TEXT_FIELDS_SCHEMA = {
|
||||
'value': {
|
||||
'type': 'array',
|
||||
'minItems': 1,
|
||||
'minItems': 0,
|
||||
'items': {'type': 'string'},
|
||||
},
|
||||
'min': {
|
||||
'type': 'integer',
|
||||
'minimum': 1,
|
||||
'minimum': 0,
|
||||
},
|
||||
'max': {
|
||||
'type': 'integer',
|
||||
'minimum': 1,
|
||||
'minimum': 0,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1305,6 +1305,7 @@
|
|||
description: "List of upstream DNS servers"
|
||||
weight: 10
|
||||
type: "text_list"
|
||||
min: 0
|
||||
max: 3
|
||||
regex:
|
||||
source: &ipv4_regex '^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$'
|
||||
|
|
Loading…
Reference in New Issue