ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ja...@apache.org
Subject ambari git commit: AMBARI-13158: error message is not accurate when a directory field value has a space (jaoki)
Date Thu, 22 Oct 2015 23:32:03 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 029434302 -> 063e79f68


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


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/063e79f6
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/063e79f6
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/063e79f6

Branch: refs/heads/trunk
Commit: 063e79f686f849ca6c93f7a0c63ebfb02e6b005f
Parents: 0294343
Author: Jun Aoki <jaoki@apache.org>
Authored: Thu Oct 22 16:30:52 2015 -0700
Committer: Jun Aoki <jaoki@apache.org>
Committed: Thu Oct 22 16:31:08 2015 -0700

----------------------------------------------------------------------
 ambari-web/app/models/configs/objects/service_config_property.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/063e79f6/ambari-web/app/models/configs/objects/service_config_property.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/configs/objects/service_config_property.js b/ambari-web/app/models/configs/objects/service_config_property.js
index d58731c..2c7aa87 100644
--- a/ambari-web/app/models/configs/objects/service_config_property.js
+++ b/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;
             }
           }


Mime
View raw message