Update scheduler's RunFilterPlugins to return a plugin to status map

This commit is contained in:
Abdullah Gharaibeh
2020-01-08 13:26:10 -05:00
parent 79bb357193
commit f3c7a4c823
6 changed files with 116 additions and 28 deletions

View File

@@ -195,7 +195,7 @@ func (*fakeFramework) RunPreFilterPlugins(ctx context.Context, state *framework.
return nil
}
func (*fakeFramework) RunFilterPlugins(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeInfo *schedulernodeinfo.NodeInfo) *framework.Status {
func (*fakeFramework) RunFilterPlugins(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeInfo *schedulernodeinfo.NodeInfo) framework.PluginToStatus {
return nil
}