From d62e766dad190262bbd44a86619a0371172a1b6a Mon Sep 17 00:00:00 2001 From: vinay kulkarni Date: Thu, 20 Mar 2025 16:13:45 +0000 Subject: [PATCH] Fix function comment --- test/e2e/framework/pod/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/framework/pod/utils.go b/test/e2e/framework/pod/utils.go index fd080e1598f..5658c9cb6c6 100644 --- a/test/e2e/framework/pod/utils.go +++ b/test/e2e/framework/pod/utils.go @@ -256,7 +256,7 @@ func FindPodConditionByType(podStatus *v1.PodStatus, conditionType v1.PodConditi return nil } -// FindContainerByName finds the v1.Container in a pod by its name in the provided pod +// FindContainerInPod finds the container in a pod by its name func FindContainerInPod(pod *v1.Pod, containerName string) *v1.Container { for _, container := range pod.Spec.InitContainers { if container.Name == containerName {