mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Merge pull request #78461 from mysunshine92/correct-return-information-scheduler
correct the return information in scheduler.go
This commit is contained in:
commit
1501de6a56
@ -391,7 +391,7 @@ func (sched *Scheduler) schedule(pod *v1.Pod, state *framework.CycleState) (core
|
||||
sched.recordSchedulingFailure(pod, err, v1.PodReasonUnschedulable, err.Error())
|
||||
return core.ScheduleResult{}, err
|
||||
}
|
||||
return result, err
|
||||
return result, nil
|
||||
}
|
||||
|
||||
// preempt tries to create room for a pod that has failed to schedule, by preempting lower priority pods if possible.
|
||||
|
Loading…
Reference in New Issue
Block a user