Forbid empty value for NTP server list

Default minimum of values in text_list setting value list
was changed from 1 to 0 here: https://review.openstack.org/#/c/389195/
So, min=1 limit should be restored
for "NTP server list" setting not to change its functionality.

Related-Bug: #1613614

Change-Id: If354f86c5cd11fe7eb0dc07c7c4d1048dcb75363
(cherry picked from commit 670d71fb92)
This commit is contained in:
Julia Aranovich 2016-10-31 11:18:59 +03:00
parent 118b9231a4
commit 7f7c2a526e
1 changed files with 1 additions and 0 deletions

View File

@ -1338,6 +1338,7 @@
description: "List of upstream NTP servers"
weight: 10
type: "text_list"
min: 1
regex:
source: *ipv4_or_hostname_regex
error: "Invalid NTP server"