mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #130330 from tallclair/forbid-memory-limit-decrease
Fix TweakContainers comment
This commit is contained in:
commit
97c7a16496
@ -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