mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 13:02:14 +00:00
scheduler: correct doc in doSchedule
This commit is contained in:
parent
71bd54adc6
commit
c3311744c5
@ -306,7 +306,8 @@ func (k *kubeScheduler) Schedule(pod *api.Pod, unused algorithm.NodeLister) (str
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Call ScheduleFunc and subtract some resources, returning the name of the machine the task is scheduled on
|
// doSchedule schedules the given task and returns the machine the task is scheduled on
|
||||||
|
// or an error if the scheduling failed.
|
||||||
func (k *kubeScheduler) doSchedule(task *podtask.T) (string, error) {
|
func (k *kubeScheduler) doSchedule(task *podtask.T) (string, error) {
|
||||||
var offer offers.Perishable
|
var offer offers.Perishable
|
||||||
var err error
|
var err error
|
||||||
|
Loading…
Reference in New Issue
Block a user