Browse Source

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 năm trước cách đây
mục cha
commit
5f0b165e56
1 tập tin đã thay đổi với 1 bổ sung6 xóa
  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: