浏览代码

AMBARI-3309. HBase quick links still point to http:// urls instead of https:// after Enabling HTTPS for Hadoop Web Endpoints. (ababiichuk via yusaku)

Yusaku Sako 11 年之前
父节点
当前提交
5f0b165e56
共有 1 个文件被更改,包括 1 次插入6 次删除
  1. 1 6
      ambari-web/app/views/common/quick_view_link_view.js

+ 1 - 6
ambari-web/app/views/common/quick_view_link_view.js

@@ -178,15 +178,10 @@ App.QuickViewLinks = Em.View.extend({
         return (properties && properties.hasOwnProperty('nagios.https') && properties['nagios.https']) ? "https" : "http";
         break;
       case "HDFS":
-        return hadoopSslEnabled ? "https" : "http";
-        break;
       case "YARN":
-        return hadoopSslEnabled ? "https" : "http";
-        break;
       case "MAPREDUCE":
-        return hadoopSslEnabled ? "https" : "http";
-        break;
       case "MAPREDUCE2":
+      case "HBASE":
         return hadoopSslEnabled ? "https" : "http";
         break;
       default: