Skip to content

Commit f510123

Browse files
authored
Merge pull request kubernetes#130559 from esotsal/fix-use-CamelCase-for-memory-manager-policy-name-check-for-InPlacePodVerticalScalingExclusiveCPUs-feature-gate
[FG:InPlacePodVerticalScaling] Fix use CamelCase for memory manager policy in InPlacePodVerticalScalingExclusiveCPUs
2 parents cad4663 + 33bf509 commit f510123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kubelet/kubelet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2835,7 +2835,7 @@ func (kl *Kubelet) canResizePod(pod *v1.Pod) (bool, v1.PodResizeStatus, string)
28352835
}
28362836
}
28372837
if utilfeature.DefaultFeatureGate.Enabled(features.MemoryManager) {
2838-
if kl.containerManager.GetNodeConfig().MemoryManagerPolicy == "static" {
2838+
if kl.containerManager.GetNodeConfig().MemoryManagerPolicy == "Static" {
28392839
msg := "Resize is infeasible for Guaranteed Pods alongside Memory Manager static policy"
28402840
klog.V(3).InfoS(msg, "pod", format.Pod(pod))
28412841
return false, v1.PodResizeStatusInfeasible, msg

0 commit comments

Comments
 (0)