Explorar o código

AMBARI-5557. Reorder flume agent metric sections. (akovalenko)

Aleksandr Kovalenko %!s(int64=11) %!d(string=hai) anos
pai
achega
fee25b4d83
Modificáronse 1 ficheiros con 6 adicións e 6 borrados
  1. 6 6
      ambari-web/app/views/main/service/services/flume.js

+ 6 - 6
ambari-web/app/views/main/service/services/flume.js

@@ -144,27 +144,27 @@ App.MainDashboardServiceFlumeView = App.TableView.extend({
     var agentHostMock = agent.get('host.hostName');
     var mockMetricData = [
       {
-        header: 'sinkName',
+        header: 'channelName',
         metricView: App.MainServiceInfoFlumeGraphsView.extend(),
         metricViewData: {
           agent: agent,
-          metricType: 'SINK'
+          metricType: 'CHANNEL'
         }
       },
       {
-        header: 'sourceName',
+        header: 'sinkName',
         metricView: App.MainServiceInfoFlumeGraphsView.extend(),
         metricViewData: {
           agent: agent,
-          metricType: 'SOURCE'
+          metricType: 'SINK'
         }
       },
       {
-        header: 'channelName',
+        header: 'sourceName',
         metricView: App.MainServiceInfoFlumeGraphsView.extend(),
         metricViewData: {
           agent: agent,
-          metricType: 'CHANNEL'
+          metricType: 'SOURCE'
         }
       }
     ];