Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Nicola Soranzo <[email protected]>
  • Loading branch information
dannon and nsoranzo authored Feb 21, 2024
1 parent a210a6f commit 60d5442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/job_metrics/instrumenters/meminfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


class MemInfoFormatter(formatting.JobMetricFormatter):
def format(self, key: str, value: Any):
def format(self, key: str, value: Any) -> formatting.FormattedMetric:
title = MEMINFO_TITLES.get(key, key)
return formatting.FormattedMetric(title, util.nice_size(value * 1000)) # kB = *1000, KB = *1024 - wikipedia

Expand Down

0 comments on commit 60d5442

Please sign in to comment.