You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by yu...@apache.org on 2023/08/05 00:39:21 UTC
[yunikorn-web] branch master updated: [YUNIKORN-1860] Fix totalContainers (#128)
This is an automated email from the ASF dual-hosted git repository.
yuteng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-web.git
The following commit(s) were added to refs/heads/master by this push:
new d0b219c [YUNIKORN-1860] Fix totalContainers (#128)
d0b219c is described below
commit d0b219c84d84ebf6dc04954e2fd8e2f23a971568
Author: PoAn Yang <ya...@gmail.com>
AuthorDate: Sat Aug 5 08:39:17 2023 +0800
[YUNIKORN-1860] Fix totalContainers (#128)
Signed-off-by: Frank Yang <ya...@gmail.com>
---
src/app/components/dashboard/dashboard.component.ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/app/components/dashboard/dashboard.component.ts b/src/app/components/dashboard/dashboard.component.ts
index c15a67c..2cf141c 100644
--- a/src/app/components/dashboard/dashboard.component.ts
+++ b/src/app/components/dashboard/dashboard.component.ts
@@ -86,6 +86,7 @@ export class DashboardComponent implements OnInit {
? list[0].nodeSortingPolicy.type
: NOT_AVAILABLE;
+ list[0].totalContainers = list[0].totalContainers || 0;
this.partitionName = list[0].name || NOT_AVAILABLE;
this.totalNodes = String(list[0].totalNodes);
this.totalApplications = String(list[0].applications.total);
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org