Skip to content

Commit

Permalink
Fix TweakContainers comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tallclair committed Feb 21, 2025
1 parent e52274a commit 7098221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/pod/testing/make.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7098221

Please sign in to comment.