Skip to content

Commit ec6a988

Browse files
committed
Register plugins with the scheduling framework properly
1 parent a6ba2eb commit ec6a988

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/scheduler/plugins/registrar.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func NewDefaultPluginSet(ctx *plugins.PluginContext, schedulerCache *cache.Cache
5858
return &defaultRegistrar
5959
}
6060

61-
func (r DefaultPluginSet) registerReservePlugins() {
61+
func (r *DefaultPluginSet) registerReservePlugins() {
6262
r.reservePlugins = []plugins.ReservePlugin{
6363
// Init functions of all reserve plugins go here. They are called in the
6464
// same order that they are registered.
@@ -67,7 +67,7 @@ func (r DefaultPluginSet) registerReservePlugins() {
6767
}
6868
}
6969

70-
func (r DefaultPluginSet) registerPrebindPlugins() {
70+
func (r *DefaultPluginSet) registerPrebindPlugins() {
7171
r.prebindPlugins = []plugins.PrebindPlugin{
7272
// Init functions of all prebind plugins go here. They are called in the
7373
// same order that they are registered.

0 commit comments

Comments
 (0)