Explorar o código

remove cluster aggregation breakage

Signed-off-by: Steven Tobias <stobias123@gmail.com>
Steven Tobias %!s(int64=3) %!d(string=hai) anos
pai
achega
8b8755e2a8
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      ui/src/Reports.js

+ 0 - 5
ui/src/Reports.js

@@ -155,11 +155,6 @@ const ReportsPage = () => {
         const allocationRange = resp.data
         for (const i in allocationRange) {
           // 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)
         }
         setAllocationData(allocationRange)