diff --git a/pkg/scheduler/framework/runtime/framework.go b/pkg/scheduler/framework/runtime/framework.go index 76d7e010621..e854c7e540e 100644 --- a/pkg/scheduler/framework/runtime/framework.go +++ b/pkg/scheduler/framework/runtime/framework.go @@ -355,9 +355,8 @@ func NewFramework(ctx context.Context, r Registry, profile *config.KubeScheduler options.captureProfile(outputProfile) } - // Logs the enabled plugins enabled for each extension point - m := f.ListPlugins() - pluginMap := reflect.ValueOf(*m) + m := *f.ListPlugins() + pluginMap := reflect.ValueOf(m) typeOfMap := pluginMap.Type() for i := 0; i < pluginMap.NumField(); i++ {