diff --git a/pkg/scheduler/objects/application.go b/pkg/scheduler/objects/application.go index 1f47c7e1b..3f58c1a76 100644 --- a/pkg/scheduler/objects/application.go +++ b/pkg/scheduler/objects/application.go @@ -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