Merge pull request #37611 from yarntime/fix_typo_in_pet_set

Automatic merge from submit-queue

fix typo in pet_set

fix typo in pet_set.
This commit is contained in:
Kubernetes Submit Queue 2016-12-09 15:38:19 -08:00 committed by GitHub
commit f7e3668867

View File

@ -215,7 +215,7 @@ func (psc *StatefulSetController) deletePod(obj interface{}) {
// getPodsForStatefulSets returns the pods that match the selectors of the given statefulset.
func (psc *StatefulSetController) getPodsForStatefulSet(ps *apps.StatefulSet) ([]*v1.Pod, error) {
// TODO: Do we want the statefulset to fight with RCs? check parent statefulset annoation, or name prefix?
// TODO: Do we want the statefulset to fight with RCs? check parent statefulset annotation, or name prefix?
sel, err := metav1.LabelSelectorAsSelector(ps.Spec.Selector)
if err != nil {
return []*v1.Pod{}, err