فهرست منبع

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

Aleksandr Kovalenko 11 سال پیش
والد
کامیت
fee25b4d83
1فایلهای تغییر یافته به همراه6 افزوده شده و 6 حذف شده
  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'
         }
       }
     ];