Skip to content

Commit 8363cca

Browse files
committed
do not touch GetPodNameList
Signed-off-by: vaspahomov <[email protected]>
1 parent 8a64967 commit 8363cca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func RemoveString(slice []string, s string) (result []string) {
3030
// GetPodNameList returns a list of pod names from a pod list
3131
func GetPodNameList(pods []corev1.Pod) (result []string) {
3232
for _, pod := range pods {
33-
result = append(result, pod.Name)
33+
result = append(result, pod.ObjectMeta.Name)
3434
}
3535
return result
3636
}

0 commit comments

Comments
 (0)