Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
Signed-off-by: ykcai-daniel <[email protected]>
  • Loading branch information
ykcai-daniel committed Sep 6, 2024
1 parent 213b53d commit f34abc0
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions pkg/scheduler/api/job_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -636,15 +636,6 @@ func (ji *JobInfo) DeleteTaskInfo(ti *TaskInfo) error {
return nil
}

func (ji *JobInfo) HaveSchGatedTask() bool {
for _, task := range ji.Tasks {
if task.SchedulingGated() {
return true
}
}
return false
}

// Clone is used to clone a jobInfo object
func (ji *JobInfo) Clone() *JobInfo {
info := &JobInfo{
Expand Down

0 comments on commit f34abc0

Please sign in to comment.