mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 02:34:03 +00:00
fix typo
This commit is contained in:
parent
81177226a8
commit
148170da5d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user