From 12fc5a5612950f506f88bea7f477188510a83b74 Mon Sep 17 00:00:00 2001 From: Yuhao Fang Date: Mon, 13 Nov 2017 10:26:31 +0800 Subject: [PATCH] fixtypo --- .../algorithm/priorities/balanced_resource_allocation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/pkg/scheduler/algorithm/priorities/balanced_resource_allocation.go b/plugin/pkg/scheduler/algorithm/priorities/balanced_resource_allocation.go index 5739bedf85a..718282da11f 100644 --- a/plugin/pkg/scheduler/algorithm/priorities/balanced_resource_allocation.go +++ b/plugin/pkg/scheduler/algorithm/priorities/balanced_resource_allocation.go @@ -100,7 +100,7 @@ func fractionOfCapacity(requested, capacity int64) float64 { // BalancedResourceAllocationMap favors nodes with balanced resource usage rate. // BalancedResourceAllocationMap should **NOT** be used alone, and **MUST** be used together with LeastRequestedPriority. -// It calculates the difference between the cpu and memory fracion of capacity, and prioritizes the host based on how +// It calculates the difference between the cpu and memory fraction of capacity, and prioritizes the host based on how // close the two metrics are to each other. // Detail: score = 10 - abs(cpuFraction-memoryFraction)*10. The algorithm is partly inspired by: // "Wei Huang et al. An Energy Efficient Virtual Machine Placement Algorithm with Balanced Resource Utilization"