Skip to content

Commit

Permalink
[launcher] Fix typo in comment
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksandr Grytsov <[email protected]>
  • Loading branch information
al1img committed Sep 3, 2024
1 parent 5abffb9 commit 02ac352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion launcher/nodehandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) *
Expand Down

0 comments on commit 02ac352

Please sign in to comment.