scheduler: correct doc in doSchedule

This commit is contained in:
Sergiusz Urbaniak 2015-10-20 14:48:14 -07:00
parent 71bd54adc6
commit c3311744c5

View File

@ -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) {
var offer offers.Perishable
var err error