From d9073b7610b8cd441e42443d943d793b86803822 Mon Sep 17 00:00:00 2001 From: asledzinskiy Date: Tue, 25 Aug 2015 16:02:59 +0300 Subject: [PATCH] Add validation on emptyness of additional config - We need to validate additional config textarea on empty values Change-Id: I9ec16da7ff92a0f147dc2cde8671d3144ad28344 Related-Bug: #1488455 --- environment_config.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/environment_config.yaml b/environment_config.yaml index 3864200..d11e305 100644 --- a/environment_config.yaml +++ b/environment_config.yaml @@ -12,4 +12,7 @@ attributes: #remote_db_password: 'secret' custom_mysql_setup_class: 'galera' label: "Additional config" - description: "Just put here valid yaml" + description: "Just put here valid yaml" + regex: + source: '.+' + error: "This field should not be empty"