ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atk...@apache.org
Subject git commit: AMBARI-4179 Ambari UI should not allow to override pid dirs. (Mikhail Bayuk via atkach)
Date Thu, 26 Dec 2013 13:00:39 GMT
Updated Branches:
  refs/heads/branch-1.4.3 304f9ee9a -> 3c4fb53c6


AMBARI-4179 Ambari UI should not allow to override pid dirs. (Mikhail Bayuk via atkach)


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

Branch: refs/heads/branch-1.4.3
Commit: 3c4fb53c66632546f008784c4a1dbf1efe3b9fb3
Parents: 304f9ee
Author: atkach <atkach@hortonworks.com>
Authored: Thu Dec 26 15:00:37 2013 +0200
Committer: atkach <atkach@hortonworks.com>
Committed: Thu Dec 26 15:00:37 2013 +0200

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/3c4fb53c/ambari-web/app/models/service_config.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/service_config.js b/ambari-web/app/models/service_config.js
index 2388f7e..ac55802 100644
--- a/ambari-web/app/models/service_config.js
+++ b/ambari-web/app/models/service_config.js
@@ -180,7 +180,7 @@ App.ServiceConfigProperty = Ember.Object.extend({
    * and fields which represent master hosts.
    */
   isPropertyOverridable: function () {
-    var overrideable = this.get('isOverridable');
+    var overrideable = this.get('name').contains('pid_dir') ? false : this.get('isOverridable');
     var editable = this.get('isEditable');
     var overrides = this.get('overrides');
     var dt = this.get('displayType');


Mime
View raw message