Merge pull request #89904 from alculquicondor/raw-extension-plugin-args

Use RawExtension and Object for external and internal, respectively, scheduling plugin args
This commit is contained in:
Kubernetes Prow Robot
2020-04-15 15:22:59 -07:00
committed by GitHub
45 changed files with 148 additions and 111 deletions

View File

@@ -110,7 +110,7 @@ func machine2PrioritizerExtender(pod *v1.Pod, nodes []*v1.Node) (*framework.Node
type machine2PrioritizerPlugin struct{}
func newMachine2PrioritizerPlugin() framework.PluginFactory {
return func(_ *runtime.Unknown, _ framework.FrameworkHandle) (framework.Plugin, error) {
return func(_ runtime.Object, _ framework.FrameworkHandle) (framework.Plugin, error) {
return &machine2PrioritizerPlugin{}, nil
}
}