Skip to content

Commit

Permalink
correct task row memory unit (#11980)
Browse files Browse the repository at this point in the history
  • Loading branch information
ttys3 committed Feb 2, 2022
1 parent 49361be commit 09e68d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/11980.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: fix the unit for the task row memory usage metric
```
2 changes: 1 addition & 1 deletion ui/app/templates/components/task-row.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
{{x-icon "alert-triangle" class="is-warning"}}
</span>
{{else}}
<div class="inline-chart tooltip" role="tooltip" aria-label="{{format-scheduled-bytes this.memory.used}} / {{format-scheduled-bytes this.taskStats.reservedMemory}}">
<div class="inline-chart tooltip" role="tooltip" aria-label="{{format-bytes this.memory.used}} / {{format-bytes this.taskStats.reservedMemory start='MiB'}}">
<progress
class="progress is-danger is-small"
value="{{this.memory.percent}}"
Expand Down

0 comments on commit 09e68d1

Please sign in to comment.