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

git commit: AMBARI-4550. Add host wizard has an empty Repositories field. (xiwang via yusaku)

Updated Branches:
  refs/heads/trunk 369aeb4e5 -> a627a68bb


AMBARI-4550. Add host wizard has an empty Repositories field. (xiwang via yusaku)


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

Branch: refs/heads/trunk
Commit: a627a68bb6c447b2acced581896cdb30cac27023
Parents: 369aeb4
Author: Yusaku Sako <yu...@hortonworks.com>
Authored: Thu Feb 6 14:15:10 2014 -0800
Committer: Yusaku Sako <yu...@hortonworks.com>
Committed: Thu Feb 6 14:15:10 2014 -0800

----------------------------------------------------------------------
 ambari-web/app/controllers/wizard/step8_controller.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/a627a68b/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 e8da981..a54de8c 100644
--- a/ambari-web/app/controllers/wizard/step8_controller.js
+++ b/ambari-web/app/controllers/wizard/step8_controller.js
@@ -415,7 +415,7 @@ App.WizardStep8Controller = Em.Controller.extend({
     var supportedOs = ['redhat5', 'redhat6', 'sles11'];
     data.items.forEach(function (item) {
       var os = item.repositories[0].Repositories;
-      if (supportedOs.contains(os.osType)) {
+      if (supportedOs.contains(os.os_type)) {
         allRepos.push(Em.Object.create({
           base_url: os.base_url,
           os_type: Em.I18n.t("installer.step8.repoInfo.osType." + os.os_type)