You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2017/11/22 12:15:36 UTC

ambari git commit: AMBARI-22494 Unable to install the cluster. (atkach)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.6 0615fa0f6 -> b7ed9aaa5


AMBARI-22494 Unable to install the cluster. (atkach)


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

Branch: refs/heads/branch-2.6
Commit: b7ed9aaa517d6da788d073e85f4198697e0fc9ca
Parents: 0615fa0
Author: Andrii Tkach <at...@apache.org>
Authored: Wed Nov 22 12:23:10 2017 +0200
Committer: Andrii Tkach <at...@apache.org>
Committed: Wed Nov 22 12:23:10 2017 +0200

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/b7ed9aaa/ambari-web/app/controllers/wizard/step3_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step3_controller.js b/ambari-web/app/controllers/wizard/step3_controller.js
index fb41516..abc745d 100644
--- a/ambari-web/app/controllers/wizard/step3_controller.js
+++ b/ambari-web/app/controllers/wizard/step3_controller.js
@@ -1093,7 +1093,7 @@ App.WizardStep3Controller = Em.Controller.extend(App.ReloadPopupMixin, {
           return {
             hostName: Em.get(task, 'Tasks.host_name'),
             transparentHugePage: Em.get(task, 'Tasks.structured_out.transparentHugePage.message'),
-            installedPackages: installed_packages ? installed_packages : []
+            installedPackages: installed_packages && Array.isArray(installed_packages) ? installed_packages : []
           };
         }));