Skip to content

Commit

Permalink
[YUNIKORN-1932] Ignore not-started app when reporting app summary (#627)
Browse files Browse the repository at this point in the history
Closes: #627

Signed-off-by: Craig Condit <[email protected]>
  • Loading branch information
Yongjun Zhang authored and craigcondit committed Aug 24, 2023
1 parent 73e5f55 commit e9d703b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/scheduler/objects/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -2013,6 +2013,9 @@ func (sa *Application) CleanupUsedResource() {
}

func (sa *Application) LogAppSummary(rmID string) {
if sa.startTime.IsZero() {
return
}
appSummary := sa.GetApplicationSummary(rmID)
appSummary.DoLogging()
appSummary.ResourceUsage = nil
Expand Down

0 comments on commit e9d703b

Please sign in to comment.