kingamarton commented on a change in pull request #230:
URL: 
https://github.com/apache/incubator-yunikorn-core/pull/230#discussion_r559476386



##########
File path: pkg/scheduler/partition.go
##########
@@ -1208,3 +1219,11 @@ func (pc *PartitionContext) removeAllocationAsk(appID 
string, allocationKey stri
                }
        }
 }
+
+func (pc *PartitionContext) cleanupExpiredApps() {
+       for _, app := range pc.GetAppsByState(objects.Expired.String()) {
+               if app.IsMarkedForRemoval() {

Review comment:
       You are right! I will remove the check




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to