You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sr...@apache.org on 2014/04/15 02:50:34 UTC

git commit: AMBARI-5470. Error on Step 9 on Deploy. (jaimin via srimanth)

Repository: ambari
Updated Branches:
  refs/heads/trunk 26199080d -> 5c0e09ca9


AMBARI-5470. Error on Step 9 on Deploy. (jaimin via srimanth)


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

Branch: refs/heads/trunk
Commit: 5c0e09ca9fd40372d934b3ab80f1a1924016613c
Parents: 2619908
Author: Srimanth Gunturi <sg...@hortonworks.com>
Authored: Mon Apr 14 17:50:15 2014 -0700
Committer: Srimanth Gunturi <sg...@hortonworks.com>
Committed: Mon Apr 14 17:50:15 2014 -0700

----------------------------------------------------------------------
 ambari-web/app/controllers/wizard/step8_controller.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/5c0e09ca/ambari-web/app/controllers/wizard/step8_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step8_controller.js b/ambari-web/app/controllers/wizard/step8_controller.js
index 8bb548b..5ce4555 100644
--- a/ambari-web/app/controllers/wizard/step8_controller.js
+++ b/ambari-web/app/controllers/wizard/step8_controller.js
@@ -949,8 +949,8 @@ App.WizardStep8Controller = Em.Controller.extend({
   setLocalRepositories: function () {
     if (this.get('content.controllerName') !== 'installerController' || !App.supports.localRepositories) return;
     var self = this;
-
-    this.get('content.stacks').findProperty('isSelected', true).operatingSystems.forEach(function (os) {
+    var stack = this.get('content.stacks').findProperty('isSelected', true);
+    stack.operatingSystems.forEach(function (os) {
       if (os.baseUrl !== os.originalBaseUrl) {
         console.log("Updating local repository URL from " + os.originalBaseUrl + " -> " + os.baseUrl + ". ", os);
         self.addRequestToAjaxQueue({