Update scheduler_extender.md

The filter call should actually return a schedulerapi.ExtenderFilterResult with an api.NodeList in it, instead of a raw api.NodeList.
This commit is contained in:
Boris Mattijssen
2016-06-02 15:08:50 +02:00
parent 1288106608
commit 99264f4456

View File

@@ -125,7 +125,7 @@ type ExtenderArgs struct {
} }
``` ```
The "filter" call returns a list of nodes (api.NodeList). The "prioritize" call The "filter" call returns a list of nodes (schedulerapi.ExtenderFilterResult). The "prioritize" call
returns priorities for each node (schedulerapi.HostPriorityList). returns priorities for each node (schedulerapi.HostPriorityList).
The "filter" call may prune the set of nodes based on its predicates. Scores The "filter" call may prune the set of nodes based on its predicates. Scores