Skip to content

Commit

Permalink
[YUNIKORN-2993] Use empty array when stateLog not exists for `AppIn…
Browse files Browse the repository at this point in the history
…fo` (#227)

Closes: #227

Signed-off-by: Craig Condit <ccondit@apache.org>
  • Loading branch information
jshmchenxi authored and craigcondit committed Dec 5, 2024
1 parent 10d02a0 commit 7d48333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/services/scheduler/scheduler.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
[]
Expand Down

0 comments on commit 7d48333

Please sign in to comment.