From 7098221ae54929bce98063d181f2a2eab64deb48 Mon Sep 17 00:00:00 2001 From: Tim Allclair Date: Thu, 20 Feb 2025 16:09:58 -0800 Subject: [PATCH] Fix TweakContainers comment --- pkg/api/pod/testing/make.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/pod/testing/make.go b/pkg/api/pod/testing/make.go index 7fff75fce93e2..a4f6379039997 100644 --- a/pkg/api/pod/testing/make.go +++ b/pkg/api/pod/testing/make.go @@ -336,7 +336,7 @@ func SetResizeStatus(resizeStatus api.PodResizeStatus) TweakPodStatus { } } -// TweakContainers applies the container tweaks to all containers in the pod with a masked type. +// TweakContainers applies the container tweaks to all containers (regular & init) in the pod. // Note: this should typically be added to pod tweaks after all containers have been added. func TweakContainers(tweaks ...TweakContainer) Tweak { return func(pod *api.Pod) {