From bf88abec84c507bc7a7b3699a8c494b1bec9333d Mon Sep 17 00:00:00 2001 From: Oleksandr Grytsov Date: Mon, 2 Sep 2024 12:32:47 +0300 Subject: [PATCH] [launcher] Fix typo in comment Signed-off-by: Oleksandr Grytsov --- launcher/nodehandler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/nodehandler.go b/launcher/nodehandler.go index d2d88c3c..9c3cd1f3 100644 --- a/launcher/nodehandler.go +++ b/launcher/nodehandler.go @@ -118,7 +118,7 @@ func (node *nodeHandler) initAvailableResources(nodeManager NodeManager, rebalan totalCPU := node.nodeInfo.MaxDMIPs totalRAM := node.nodeInfo.TotalRAM - // For nodes required rebalancing, we need to increase resource consumption below the low threshold + // For nodes required rebalancing, we need to decrease resource consumption below the low threshold if node.needRebalancing { if node.nodeConfig.AlertRules.CPU != nil { totalCPU = uint64(math.Round(float64(node.nodeInfo.MaxDMIPs) *