From 8780e29dea4d7b5a9c73051b3bdecdb3ce652070 Mon Sep 17 00:00:00 2001 From: timchenxiaoyu <837829664@qq.com> Date: Wed, 8 Mar 2017 12:35:25 +0800 Subject: [PATCH] fix priority typo --- plugin/pkg/scheduler/algorithm/priorities/selector_spreading.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/pkg/scheduler/algorithm/priorities/selector_spreading.go b/plugin/pkg/scheduler/algorithm/priorities/selector_spreading.go index 02ee8aa2573..a93da34c347 100644 --- a/plugin/pkg/scheduler/algorithm/priorities/selector_spreading.go +++ b/plugin/pkg/scheduler/algorithm/priorities/selector_spreading.go @@ -31,7 +31,7 @@ import ( ) // The maximum priority value to give to a node -// Prioritiy values range from 0-maxPriority +// Priority values range from 0-maxPriority const maxPriority float32 = 10 // When zone information is present, give 2/3 of the weighting to zone spreading, 1/3 to node spreading