Skip to content

Commit d62e766

Browse files
committed
Fix function comment
1 parent 1208f25 commit d62e766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/framework/pod/utils.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ func FindPodConditionByType(podStatus *v1.PodStatus, conditionType v1.PodConditi
256256
return nil
257257
}
258258

259-
// FindContainerByName finds the v1.Container in a pod by its name in the provided pod
259+
// FindContainerInPod finds the container in a pod by its name
260260
func FindContainerInPod(pod *v1.Pod, containerName string) *v1.Container {
261261
for _, container := range pod.Spec.InitContainers {
262262
if container.Name == containerName {

0 commit comments

Comments
 (0)