Commit 051dfb1b authored by Klaus Ma's avatar Klaus Ma

address review comments.

parent 2da96fc4
......@@ -323,7 +323,7 @@ func getFitPredicateFunctions(names sets.String, args PluginFactoryArgs) (map[st
}
// Always include mandatory fit predicates.
for _, name := range mandatoryFitPredicates.List() {
for name := range mandatoryFitPredicates {
if factory, found := fitPredicateMap[name]; found {
predicates[name] = factory(args)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment