Skip to content

Commit

Permalink
Fixed verbiage of the method calculateCoresMemoryTotal (#7129)
Browse files Browse the repository at this point in the history
* Fixed verbiage

* Dropped comment to avoid dubious interpretation
  • Loading branch information
ehvs authored Jan 27, 2025
1 parent 3291bae commit ec8b0da
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cluster-autoscaler/core/static_autoscaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ func (a *StaticAutoscaler) RunOnce(currentTime time.Time) caerrors.AutoscalerErr
return caerrors.ToAutoscalerError(caerrors.ApiCallError, err)
}

// Update cluster resource usage metrics
coresTotal, memoryTotal := calculateCoresMemoryTotal(allNodes, currentTime)
metrics.UpdateClusterCPUCurrentCores(coresTotal)
metrics.UpdateClusterMemoryCurrentBytes(memoryTotal)
Expand Down

0 comments on commit ec8b0da

Please sign in to comment.