Skip to content

Commit

Permalink
Remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
gareth-ellis committed Nov 14, 2023
1 parent df0f336 commit ecb650f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions esrally/reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,6 @@ def _report_disk_usage_stats_per_field(self, baseline_stats, contender_stats):
totals.sort()

lines = []
skip = 0
for index, _total, field in totals:
for stat in disk_usage_fields(baseline_stats):
if index in collated_baseline and index in collated_contender:
Expand All @@ -675,7 +674,6 @@ def _report_disk_usage_stats_per_field(self, baseline_stats, contender_stats):
if baseline_value == 0 and contender_value == 0:
continue
else:
skip += 1
continue
unit = convert.bytes_to_human_unit(min(baseline_value, contender_value))
lines.append(
Expand All @@ -689,8 +687,6 @@ def _report_disk_usage_stats_per_field(self, baseline_stats, contender_stats):
formatter=partial(convert.bytes_to_unit, unit),
)
)
if total > 0:
print_internal(f"Skipped {skip} statistics as missing from either baseline or contender")
return lines

def _report_total_times(self, baseline_stats, contender_stats):
Expand Down

0 comments on commit ecb650f

Please sign in to comment.