ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject [1/2] ambari git commit: AMBARI-11793. After upgrade to Ambari 2.1, YARN save settings not working (alexantonenko)
Date Mon, 08 Jun 2015 21:36:02 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk c13c5828b -> 87586c670


AMBARI-11793. After upgrade to Ambari 2.1, YARN save settings not working (alexantonenko)


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

Branch: refs/heads/trunk
Commit: d668f2cb1dae5a69a10af4c339c8469fbdabeb52
Parents: c13c582
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Mon Jun 8 22:12:56 2015 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Tue Jun 9 00:35:18 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/controllers/main/service/info/configs.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/d668f2cb/ambari-web/app/controllers/main/service/info/configs.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/info/configs.js b/ambari-web/app/controllers/main/service/info/configs.js
index 59e03ef..a21baa1 100644
--- a/ambari-web/app/controllers/main/service/info/configs.js
+++ b/ambari-web/app/controllers/main/service/info/configs.js
@@ -962,7 +962,9 @@ App.MainServiceInfoConfigsController = Em.Controller.extend(App.ServerValidatorM
       componentConfig.get('configs').pushObject(serviceConfigProperty);
       serviceConfigProperty.validate();
     }, this);
-    componentConfig.set('initConfigsLength', componentConfig.get('configs.length'));
+    Em.run.next(function () {
+      componentConfig.set('initConfigsLength', componentConfig.get('configs.length'));
+    });
   },
 
   /**


Mime
View raw message