Move RequestedToCapacityRatio argument processing to its plugin

This commit is contained in:
Abdullah Gharaibeh
2020-01-06 11:46:35 -05:00
parent 405714b262
commit b9e2389e0d
10 changed files with 114 additions and 181 deletions

View File

@@ -74,7 +74,7 @@ func NewBalancedAllocation(_ *runtime.Unknown, h framework.FrameworkHandle) (fra
resourceAllocationScorer: resourceAllocationScorer{
BalancedAllocationName,
balancedResourceScorer,
DefaultRequestedRatioResources,
defaultRequestedRatioResources,
},
}, nil
}