ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiw...@apache.org
Subject ambari git commit: AMBARI-12773-2. Ranger quick link in Ambari 2.1.0 with HDP-2.2 does not track the http, https port value.(XIWANG)
Date Fri, 21 Aug 2015 00:39:57 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 c9d8255c5 -> 5c1bf3d7e


AMBARI-12773-2. Ranger quick link in Ambari 2.1.0 with HDP-2.2 does not track the http, https
port value.(XIWANG)


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

Branch: refs/heads/branch-2.1
Commit: 5c1bf3d7e735299f367d02bd5a66d066ab8a1cf8
Parents: c9d8255
Author: Xi Wang <xiwang@apache.org>
Authored: Thu Aug 20 14:11:05 2015 -0700
Committer: Xi Wang <xiwang@apache.org>
Committed: Thu Aug 20 17:39:14 2015 -0700

----------------------------------------------------------------------
 ambari-web/app/views/common/quick_view_link_view.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/5c1bf3d7/ambari-web/app/views/common/quick_view_link_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/quick_view_link_view.js b/ambari-web/app/views/common/quick_view_link_view.js
index acb7570..e76127e 100644
--- a/ambari-web/app/views/common/quick_view_link_view.js
+++ b/ambari-web/app/views/common/quick_view_link_view.js
@@ -411,7 +411,7 @@ App.QuickViewLinks = Em.View.extend({
       }
     }
     var site = configProperties.findProperty('type', item.get('site'));
-    var propertyValue = site && site.properties[config];
+    var propertyValue = site && site.properties && site.properties[config];
     if (!propertyValue) {
       return defaultPort;
     }


Mime
View raw message