This is an automated email from the ASF dual-hosted git repository.
ccondit 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 7d48333 [YUNIKORN-2993] Use empty array when `stateLog` not exists
for `AppInfo` (#227)
7d48333 is described below
commit 7d48333c033f7c8c0a7ccd3ab4317f2d907133ba
Author: Xi Chen <[email protected]>
AuthorDate: Thu Dec 5 16:24:07 2024 -0600
[YUNIKORN-2993] Use empty array when `stateLog` not exists for `AppInfo`
(#227)
Closes: #227
Signed-off-by: Craig Condit <[email protected]>
---
src/app/services/scheduler/scheduler.service.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/app/services/scheduler/scheduler.service.ts
b/src/app/services/scheduler/scheduler.service.ts
index 224c82d..9246486 100644
--- a/src/app/services/scheduler/scheduler.service.ts
+++ b/src/app/services/scheduler/scheduler.service.ts
@@ -96,7 +96,7 @@ export class SchedulerService {
this.formatResource(app['maxUsedResource'] as
SchedulerResourceInfo),
app['submissionTime'],
app['lastStateChangeTime'],
- app['stateLog'],
+ app['stateLog'] ?? [],
app['finishedTime'],
app['applicationState'],
[]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]