AMBARI-7503. Ambari deploys HDP-2.1 even if you select HDP-2.2.1. (jaimin)

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

Branch: refs/heads/branch-alerts-dev
Commit: 89f3a2c860ed57c1830072dc266d3e8a0ab0c2da
Parents: 0ea1f0e
Author: Jaimin Jetly <[email protected]>
Authored: Thu Sep 25 16:21:57 2014 -0700
Committer: Jaimin Jetly <[email protected]>
Committed: Thu Sep 25 16:22:05 2014 -0700

----------------------------------------------------------------------
 ambari-web/app/controllers/installer.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/89f3a2c8/ambari-web/app/controllers/installer.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/installer.js 
b/ambari-web/app/controllers/installer.js
index e09f116..e557926 100644
--- a/ambari-web/app/controllers/installer.js
+++ b/ambari-web/app/controllers/installer.js
@@ -236,6 +236,7 @@ App.InstallerController = App.WizardController.extend({
     var stacks = this.get('content.stacks');
     var dfd = $.Deferred();
     if (stacks && stacks.get('length')) {
+      App.set('currentStackVersion', 
App.Stack.find().findProperty('isSelected').get('id'));
       dfd.resolve(true);
     } else {
       App.ajax.send({

Reply via email to