Browse Source

AMBARI-13158: error message is not accurate when a directory field value has a space (jaoki)

Jun Aoki 9 years ago
parent
commit
063e79f686
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ambari-web/app/models/configs/objects/service_config_property.js

+ 1 - 1
ambari-web/app/models/configs/objects/service_config_property.js

@@ -356,7 +356,7 @@ App.ServiceConfigProperty = Em.Object.extend({
             }
           } else {
             if (!validator.isValidDir(value)) {
-              this.set('errorMessage', 'Must be a slash or drive at the start');
+              this.set('errorMessage', 'Must be a slash or drive at the start, and must not contain white spaces');
               isError = true;
             }
           }