Skip to content

Commit 33bf509

Browse files
committed
Use CamelCase for memory manager policy name check in InPlacePodVerticalScalingExclusiveCPUs
1 parent 5870490 commit 33bf509

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
@@ -2829,7 +2829,7 @@ func (kl *Kubelet) canResizePod(pod *v1.Pod) (bool, v1.PodResizeStatus, string)
28292829
}
28302830
}
28312831
if utilfeature.DefaultFeatureGate.Enabled(features.MemoryManager) {
2832-
if kl.containerManager.GetNodeConfig().MemoryManagerPolicy == "static" {
2832+
if kl.containerManager.GetNodeConfig().MemoryManagerPolicy == "Static" {
28332833
msg := "Resize is infeasible for Guaranteed Pods alongside Memory Manager static policy"
28342834
klog.V(3).InfoS(msg, "pod", format.Pod(pod))
28352835
return false, v1.PodResizeStatusInfeasible, msg

0 commit comments

Comments
 (0)