Skip to content

Commit

Permalink
Merge pull request kubewharf#35 from lzlaa/add-return-for-timeout-task
Browse files Browse the repository at this point in the history
add return into checkCrossNodePreemptionForAssumedTask
  • Loading branch information
NickrenREN authored Mar 14, 2024
2 parents 80119ac + a0fd8a5 commit 1cf71ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/binder/godel_binder.go
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ func checkCrossNodePreemptionForAssumedTask(podLister corelisters.PodLister, ass
// since we decide to (only) remove this failed preemptor from assumed tasks,
// this failed preemptor will not affect the return result (allPass -> if all assumed task finishes the preemption)
inProgress = false
return
}

inProgress = true
Expand Down

0 comments on commit 1cf71ba

Please sign in to comment.