From 9cb2d1cf6dee6033188cafa6dfbc2d7fab00c6b1 Mon Sep 17 00:00:00 2001 From: hub-Prateek Date: Wed, 22 Nov 2023 22:32:19 +0530 Subject: [PATCH] Removed Comments --- pkg/scheduler/framework/runtime/framework.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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++ {