mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 18:00:08 +00:00
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:
commit
f7e3668867
@ -215,7 +215,7 @@ func (psc *StatefulSetController) deletePod(obj interface{}) {
|
|||||||
|
|
||||||
// getPodsForStatefulSets returns the pods that match the selectors of the given statefulset.
|
// getPodsForStatefulSets returns the pods that match the selectors of the given statefulset.
|
||||||
func (psc *StatefulSetController) getPodsForStatefulSet(ps *apps.StatefulSet) ([]*v1.Pod, error) {
|
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)
|
sel, err := metav1.LabelSelectorAsSelector(ps.Spec.Selector)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return []*v1.Pod{}, err
|
return []*v1.Pod{}, err
|
||||||
|
Loading…
Reference in New Issue
Block a user