Merge pull request #72396 from y-taka-23/register-plugins

Register plugins with the scheduling framework properly
pull/564/head
Kubernetes Prow Robot 2018-12-28 16:59:51 -08:00 committed by GitHub
commit cd06791709
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ func NewDefaultPluginSet(ctx *plugins.PluginContext, schedulerCache *cache.Cache
return &defaultRegistrar
}
func (r DefaultPluginSet) registerReservePlugins() {
func (r *DefaultPluginSet) registerReservePlugins() {
r.reservePlugins = []plugins.ReservePlugin{
// Init functions of all reserve plugins go here. They are called in the
// same order that they are registered.
@ -67,7 +67,7 @@ func (r DefaultPluginSet) registerReservePlugins() {
}
}
func (r DefaultPluginSet) registerPrebindPlugins() {
func (r *DefaultPluginSet) registerPrebindPlugins() {
r.prebindPlugins = []plugins.PrebindPlugin{
// Init functions of all prebind plugins go here. They are called in the
// same order that they are registered.