ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akovale...@apache.org
Subject ambari git commit: AMBARI-14792. Install Wizard: remove persist request after step7 (akovalenko)
Date Mon, 25 Jan 2016 18:29:32 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 05a4020eb -> e9eed7ea8


AMBARI-14792. Install Wizard: remove persist request after step7 (akovalenko)


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

Branch: refs/heads/trunk
Commit: e9eed7ea89e6c8b53f59016b0c949e9927946c46
Parents: 05a4020
Author: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Authored: Mon Jan 25 20:04:01 2016 +0200
Committer: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Committed: Mon Jan 25 20:24:03 2016 +0200

----------------------------------------------------------------------
 ambari-web/app/routes/installer.js | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/e9eed7ea/ambari-web/app/routes/installer.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/installer.js b/ambari-web/app/routes/installer.js
index a1dde7c..4c89e4c 100644
--- a/ambari-web/app/routes/installer.js
+++ b/ambari-web/app/routes/installer.js
@@ -374,21 +374,15 @@ module.exports = Em.Route.extend(App.RouterRedirections, {
     },
     next: function (router) {
       console.time('step7 next');
-      if(!router.transitionInProgress) {
+      if (!router.transitionInProgress) {
         router.set('transitionInProgress', true);
         var controller = router.get('installerController');
         var wizardStep7Controller = router.get('wizardStep7Controller');
         controller.saveServiceConfigProperties(wizardStep7Controller);
         controller.saveServiceConfigGroups(wizardStep7Controller);
         controller.setDBProperty('recommendationsConfigs', wizardStep7Controller.get('recommendationsConfigs'));
-        App.clusterStatus.setClusterStatus({
-          localdb: App.db.data
-        }, {
-          alwaysCallback: function() {
-            router.transitionTo('step8');
-            console.timeEnd('step7 next');
-          }
-        });
+        router.transitionTo('step8');
+        console.timeEnd('step7 next');
       }
     }
   }),


Mime
View raw message