mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-04 13:16:05 +08:00
Lint fixes
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
@@ -53,7 +53,7 @@ export function ntpServers(value, getters, errors, validatorArgs) {
|
||||
errors.push(t('harvester.setting.ntpServers.isDuplicate'));
|
||||
}
|
||||
|
||||
if (ntpServers.find(V => !ipv4Regex.test(V) && !hostRegex.test(V))) {
|
||||
if (ntpServers.find((V) => !ipv4Regex.test(V) && !hostRegex.test(V))) {
|
||||
errors.push(t('harvester.setting.ntpServers.isNotIPV4'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user