We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a64967 commit 8363ccaCopy full SHA for 8363cca
controllers/utils.go
@@ -30,7 +30,7 @@ func RemoveString(slice []string, s string) (result []string) {
30
// GetPodNameList returns a list of pod names from a pod list
31
func GetPodNameList(pods []corev1.Pod) (result []string) {
32
for _, pod := range pods {
33
- result = append(result, pod.Name)
+ result = append(result, pod.ObjectMeta.Name)
34
}
35
return result
36
0 commit comments