You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by mz...@apache.org on 2019/07/19 19:04:25 UTC
[mesos] branch master updated: Fixed an UI issue in Roles tab where
`Reserved` is incorrect.
This is an automated email from the ASF dual-hosted git repository.
mzhu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/master by this push:
new 0913f54 Fixed an UI issue in Roles tab where `Reserved` is incorrect.
0913f54 is described below
commit 0913f54f611173205d06dfc86588b3b3ab84ba3e
Author: Meng Zhu <mz...@mesosphere.io>
AuthorDate: Fri Jul 19 11:53:39 2019 -0700
Fixed an UI issue in Roles tab where `Reserved` is incorrect.
Review: https://reviews.apache.org/r/71128
---
src/webui/app/roles/roles.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/webui/app/roles/roles.html b/src/webui/app/roles/roles.html
index b0c57cf..b290587 100644
--- a/src/webui/app/roles/roles.html
+++ b/src/webui/app/roles/roles.html
@@ -118,13 +118,13 @@ Quota Limit
{{(role.reserved.cpus | decimalFloat) || "-"}}
</td>
<td ng-show="show_reserved">
- {{(role.allocated.gpus | decimalFloat) || "-"}}
+ {{(role.reserved.gpus | decimalFloat) || "-"}}
</td>
<td ng-show="show_reserved">
- {{((role.allocated.mem * (1024 * 1024) || NaN) | dataSize) || "-"}}
+ {{((role.reserved.mem * (1024 * 1024) || NaN) | dataSize) || "-"}}
</td>
<td ng-show="show_reserved" class="end-group-column">
- {{((role.allocated.disk * (1024 * 1024) || NaN) | dataSize) || "-"}}
+ {{((role.reserved.disk * (1024 * 1024) || NaN) | dataSize) || "-"}}
</td>
<td ng-show="show_quota_consumption" class="begin-group-column">