update pluginToClusterScores length from filterPlugins length to scorePlugins length
Signed-off-by: changzhen <changzhen5@huawei.com>
This commit is contained in:
parent
ff0b84d588
commit
0735ec0202
|
|
@ -132,7 +132,7 @@ func (frw *frameworkImpl) RunScorePlugins(
|
|||
defer func() {
|
||||
metrics.FrameworkExtensionPointDuration.WithLabelValues(score, result.Code().String()).Observe(utilmetrics.DurationInSeconds(startTime))
|
||||
}()
|
||||
pluginToClusterScores := make(framework.PluginToClusterScores, len(frw.filterPlugins))
|
||||
pluginToClusterScores := make(framework.PluginToClusterScores, len(frw.scorePlugins))
|
||||
for _, p := range frw.scorePlugins {
|
||||
var scoreList framework.ClusterScoreList
|
||||
for _, cluster := range clusters {
|
||||
|
|
|
|||
Loading…
Reference in New Issue