mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	fix typo
This commit is contained in:
		@@ -21,7 +21,7 @@ import (
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// GetResourceUtilizationRatio takes in a set of metrics, a set of matching requests,
 | 
			
		||||
// and a target utilization percentage, and calcuates the the ratio of
 | 
			
		||||
// and a target utilization percentage, and calculates the the ratio of
 | 
			
		||||
// desired to actual utilization (returning that, the actual utilization, and the raw average value)
 | 
			
		||||
func GetResourceUtilizationRatio(metrics PodMetricsInfo, requests map[string]int64, targetUtilization int32) (utilizationRatio float64, currentUtilization int32, rawAverageValue int64, err error) {
 | 
			
		||||
	metricsTotal := int64(0)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user