Explorar o código

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 %!s(int64=11) %!d(string=hai) anos
pai
achega
5f0b165e56
Modificáronse 1 ficheiros con 1 adicións e 6 borrados
  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: