ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atk...@apache.org
Subject ambari git commit: AMBARI-22494 Unable to install the cluster. (atkach)
Date Wed, 22 Nov 2017 12:18:45 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 7eb14a0a5 -> 8dd9acc64


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/8dd9acc6
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8dd9acc6
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8dd9acc6

Branch: refs/heads/trunk
Commit: 8dd9acc64f4411db96ed0582433e0d44f012c916
Parents: 7eb14a0
Author: Andrii Tkach <atkach@apache.org>
Authored: Wed Nov 22 12:27:11 2017 +0200
Committer: Andrii Tkach <atkach@apache.org>
Committed: Wed Nov 22 14:18:39 2017 +0200

----------------------------------------------------------------------
 ambari-web/app/mixins/main/host/details/actions/check_host.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/8dd9acc6/ambari-web/app/mixins/main/host/details/actions/check_host.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/main/host/details/actions/check_host.js b/ambari-web/app/mixins/main/host/details/actions/check_host.js
index 66baf5a..5eff19f 100644
--- a/ambari-web/app/mixins/main/host/details/actions/check_host.js
+++ b/ambari-web/app/mixins/main/host/details/actions/check_host.js
@@ -216,7 +216,7 @@ App.CheckHostMixin = Em.Mixin.create({
           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 : []
           };
         }));
 


Mime
View raw message