Skip to content

Commit

Permalink
Address new comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuqi-lucas committed Sep 30, 2024
1 parent 312195e commit 269d9e2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/cache/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,6 @@ func (task *Task) beforeTaskCompleted() {

// releaseAllocation sends the release request for the Allocation to the core.
func (task *Task) releaseAllocation() {
// We need to get the termination type from the task, when it is "" we default to the normal termination.
// We should log it correctly instead of "" in the logs.
terminationType := common.GetTerminationTypeFromString(task.terminationType)

// scheduler api might be nil in some tests
Expand Down

0 comments on commit 269d9e2

Please sign in to comment.