mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-07 16:45:35 +00:00
Merge pull request #91102 from chendave/capacity_ratio
Move `RequestedToCapacityRatio` Args defaults to versioned packages
This commit is contained in:
@@ -76,10 +76,6 @@ func NewRequestedToCapacityRatio(plArgs runtime.Object, handle framework.Framewo
|
||||
resourceToWeightMap[v1.ResourceName(resource.Name)] = 1
|
||||
}
|
||||
}
|
||||
if len(args.Resources) == 0 {
|
||||
// If no resources specified, used the default set.
|
||||
resourceToWeightMap = defaultRequestedRatioResources
|
||||
}
|
||||
|
||||
return &RequestedToCapacityRatio{
|
||||
handle: handle,
|
||||
|
||||
Reference in New Issue
Block a user