소스 검색

Merge pull request #1603 from stobias123/develop

remove cluster aggregation breakage
Ajay Tripathy 3 년 전
부모
커밋
203ecb333f
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      ui/src/Reports.js

+ 0 - 5
ui/src/Reports.js

@@ -155,11 +155,6 @@ const ReportsPage = () => {
         const allocationRange = resp.data
         const allocationRange = resp.data
         for (const i in allocationRange) {
         for (const i in allocationRange) {
           // update cluster aggregations to use clusterName/clusterId names
           // update cluster aggregations to use clusterName/clusterId names
-	  if (aggregateBy == 'cluster') {
-            for (const k in allocationRange[i]) {
-              allocationRange[i][k].name = 'cluster-one';
-            }
-          }
           allocationRange[i] = sortBy(allocationRange[i], a => a.totalCost)
           allocationRange[i] = sortBy(allocationRange[i], a => a.totalCost)
         }
         }
         setAllocationData(allocationRange)
         setAllocationData(allocationRange)