mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Fix TweakContainers comment
This commit is contained in:
parent
e52274a9e2
commit
7098221ae5
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user