Merge pull request #17133 from derekwaynecarr/quota_controller_improvements

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2015-12-06 12:24:00 -08:00
8 changed files with 217 additions and 41 deletions

View File

@@ -336,7 +336,7 @@ func (s *StoreToJobLister) List() (jobs extensions.JobList, err error) {
return jobs, nil
}
// GetPodControllers returns a list of jobs managing a pod. Returns an error only if no matching jobs are found.
// GetPodJobs returns a list of jobs managing a pod. Returns an error only if no matching jobs are found.
func (s *StoreToJobLister) GetPodJobs(pod *api.Pod) (jobs []extensions.Job, err error) {
var selector labels.Selector
var job extensions.Job