ofuks commented on a change in pull request #808: URL: https://github.com/apache/incubator-dlab/pull/808#discussion_r449130022
########## File path: services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/BillingServiceImpl.java ########## @@ -140,8 +140,13 @@ public String downloadReport(UserInfo user, BillingFilter filter) { public BillingReport getExploratoryBillingData(String project, String endpoint, String exploratoryName, List<String> compNames) { List<String> resourceNames = new ArrayList<>(compNames); resourceNames.add(exploratoryName); - List<BillingReportLine> billingData = billingDAO.findBillingData(project, endpoint, resourceNames); - final double sum = billingData.stream().mapToDouble(BillingReportLine::getCost).sum(); + List<BillingReportLine> billingReportLines = billingDAO.findBillingData(project, endpoint, resourceNames); + final double sum = billingReportLines.stream().mapToDouble(BillingReportLine::getCost).sum(); + //Scale the resource costs for WEB UI Review comment: Please remove this comment ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@dlab.apache.org For additional commands, e-mail: dev-h...@dlab.apache.org