Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Removing a comment from the util file
Browse files Browse the repository at this point in the history
  • Loading branch information
khushbr committed Jul 7, 2020
1 parent 63ddab2 commit d1b3f21
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ public class CacheUtil {
public static Double getTotalSizeInMB(final Metric sizeMetric) {
double sizeTotalInMB = 0;

// we expect the Metric to have single flow unit
// TODO: Depending on Ruizhen's comment
// we expect the Metric to have single flow unit since it is consumed locally
MetricFlowUnit flowUnit = sizeMetric.getFlowUnits().get(0);
if (flowUnit.isEmpty() || flowUnit.getData() == null) {
return sizeTotalInMB;
Expand Down

0 comments on commit d1b3f21

Please sign in to comment.