Fix Spelling error about [formatted] for statefulset.go

Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
This commit is contained in:
he.qingguo 2020-12-31 15:48:36 +08:00
parent 8725c3bf12
commit c1e1eb4d29

View File

@ -1317,7 +1317,7 @@ func deleteStatefulPodAtIndex(c clientset.Interface, index int, ss *appsv1.State
}
}
// getStatefulSetPodNameAtIndex gets formated pod name given index.
// getStatefulSetPodNameAtIndex gets formatted pod name given index.
func getStatefulSetPodNameAtIndex(index int, ss *appsv1.StatefulSet) string {
// TODO: we won't use "-index" as the name strategy forever,
// pull the name out from an identity mapper.