mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-18 08:50:40 +00:00
Remove FilteredNodesStatuses argument from PreScore interface
This commit is contained in:
@@ -247,7 +247,7 @@ func (*PreScorePlugin) Name() string {
|
||||
}
|
||||
|
||||
// PreScore is a test function.
|
||||
func (pfp *PreScorePlugin) PreScore(ctx context.Context, _ *framework.CycleState, pod *v1.Pod, _ []*v1.Node, _ framework.NodeToStatusMap) *framework.Status {
|
||||
func (pfp *PreScorePlugin) PreScore(ctx context.Context, _ *framework.CycleState, pod *v1.Pod, _ []*v1.Node) *framework.Status {
|
||||
pfp.numPreScoreCalled++
|
||||
if pfp.failPreScore {
|
||||
return framework.NewStatus(framework.Error, fmt.Sprintf("injecting failure for pod %v", pod.Name))
|
||||
|
||||
Reference in New Issue
Block a user