address review comments.
This commit is contained in:
@@ -323,7 +323,7 @@ func getFitPredicateFunctions(names sets.String, args PluginFactoryArgs) (map[st
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Always include mandatory fit predicates.
|
// Always include mandatory fit predicates.
|
||||||
for _, name := range mandatoryFitPredicates.List() {
|
for name := range mandatoryFitPredicates {
|
||||||
if factory, found := fitPredicateMap[name]; found {
|
if factory, found := fitPredicateMap[name]; found {
|
||||||
predicates[name] = factory(args)
|
predicates[name] = factory(args)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user